We got a new exchange server configured and brought online yesterday. As a result, I had several emails from various ColdFusion apps and scheduled tasks that were unable to be sent. When a message is unable to be sent, ColdFusion will move it into the Mail\Undelivr directory under your main ColdFusion installation directory. After some searching, I came across this little snippet on how to resend those messages. Turns out it’s really easy. All you need to is copy the unsent mail, stored as a .cfmail file back into the Spool folder in the Mail directory. Depending on your spool settings, ColdFusion will eventually attempt to resend these messages. With this knowledge, it would be a great idea to set a scheduled task to periodically go through the Undelivr directory and try to resend the mail. I’ll post back if I decide to get that working.
Hope this helps. Happy Mailing!