Skip navigation
Currently Being Moderated

CFMAIL problems when used in a CFC method.

Feb 17, 2012 2:56 PM

I have an email method in a CFC which uses CFMAIL.  It works fine except when attachments are used.  No error is generated, but the email is not sent.  It is found in the undeliverable folder.  Now, while debugging this problem I found that placing a CFABORT immediately after the CFMAIL tag, and before the end of the method, the email and the attachment were sent.  Further, and termination of processing (such as an error) after the CFMAIL tag resulted in a successful email with attachments.


More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points