The typical way to resend undelivered mail is to move it back into the spool folder, but one situation where this does not seem to work as expected is when using gmail as the SMTP server, which requires a TLS connection to the mail server before sending.
If you generate an email using cfmail, manually move it into Undelivr then move it back to Spool, it gets sent. But if you move it to Undelivr, restart ColdFusion, then move it back to Spool, the emails do not get sent and you get the error "530 5.7.0 Must issue a STARTTLS command first." My guess at what is happening is that there must be an internal list of emails and email server information stored in RAM that contains the instruction to use TLS, and if you restart CF this internal list gets wiped out and all the emails that remain in Undelivr no longer have the useTLS instruction associated with them. If you use the attribute useTLS or useSSL in the cfmail tag, the generated .cfmail file is identical to one where these attributes are not used, implying that the mail server instructions are stored elsewhere. If anyone encounters this situation, here is a fix to flush out those emails. In CFAdmin check the box that says "Maintain connection to mail server." Send any new email and make sure it leaves the spool folder. Move back in all the emails in Undelivr and wait for them to be sent. Go back into CFAdmin and uncheck the Maintain connection box (assuming you don't want to keep the connection active). -Mike Chabot ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316741 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

