0 Replies Latest reply: Feb 17, 2012 2:56 PM by Rick_Kennerud RSS

    CFMAIL problems when used in a CFC method.

    Rick_Kennerud Community Member

      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.