Skip to main content
Participant
November 21, 2012
Question

CF10 cfmail not sending email if username and password included in tag

  • November 21, 2012
  • 1 reply
  • 916 views

I upgraded my CF from 9 to 10.  In CF10, cfmail does not send the email if the username and password are included in the cfmail tag.  The same code works fine in CF9.  But when I remove the username and password, it works fine in CF10. Is there any setting that I should do to make this work.

This topic has been closed for replies.

1 reply

Miguel-F
Inspiring
November 21, 2012

ColdFusion 9 introduced a new feature in the Application.cfc file, the "smtpServersettings".  With it you can specify the smtp server, username and password per application.  I just checked and it appears to be available in CF 10 as well.

http://cookbooks.adobe.com/post_How_can_I_use_Application_level_SMTP_Server_Settin-16469.html

http://help.adobe.com/en_US/ColdFusion/10.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-750b.html

Not really a fix for you but a possible work around.  What you are doing should still work according to the docs.