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.
Europe, Middle East and Africa