Skip to main content
March 11, 2009
Question

cfmail fails to send when doing multiplie emails

  • March 11, 2009
  • 2 replies
  • 320 views
i have an application that uses cfmail to notify users when drawings have been submitted or reviewed. when there are a number of then submitted at the same time and the to email address is the same, it will usually not send one of the emails. the application is used 4 or 5 times in a few minutes and that's when one of the emails don't go through. i have contacted the hosting company that has our web site and they don't have a log for the emails to check for errors. need to figure out how to get this to be 100% reliable.

thanks

kawalski
    This topic has been closed for replies.

    2 replies

    Participating Frequently
    March 16, 2009
    The host doesn't have a log for emails? Wow...uhm...since I work at a host it's a bit biased for me to tell you to find another...but...

    Find another host.

    Seriously, without those logs you can't tell if the problem exists on the CF Server or on the mailserver that it's relaying through (assuming it's relaying through a mailserver; it may be sending directly off the webserver though that's less than ideal).

    If you need options let me know and I can give you the names of a few good CF hosts that should have the logging you need; otherwise you may want to check with your current host again to make sure you just didn't get an inexperienced tech that didn't know what they were talking about.

    Oh, and one last tip - try using the FAILTO parameter of the CFMail tag. It won't always help in some cases but it's still useful.
    Inspiring
    March 11, 2009
    Emails that cannot be sent are stored in %cfroot%\Mail\Undelivr (on CF8). You may also check that this hotfix ( http://www.adobe.com/go/kb403683 ) is installed on your CF server. It is also possible the trouble is on the mail server, but without access to CF's mail logs you won't know if a mail message was passed off to the mail server or not. If your host does not retry sending emails or provide sufficient logging/troubleshooting assistance you may want to consider another host.