While investigating a problem with mail not getting handed
off to our mail server by ColdFusion Enterprise 8.0.1, I discovered
that the "Maintain connection to mail server" setting has the
reverse effect of it's stated role, if the debug logging is
accurate.
When I turned on debugging logging for the email with
ColdFusion administrator Mail "Maintain connection to mail server"
setting turned ON, I saw log entries as follows every 15 seconds :
"Debug","scheduler-1","05/09/08","11:57:30",,"Closing mail
server connections."
"Debug","scheduler-1","05/09/08","11:57:30",,"Next mail spool
run in 15 seconds."
When I removed the "Maintain connection" checkmark, the
"Closing mail server connections" log entries stopped and only the
"Next mail spool run" entries continued.
I am submitting a bug report on this, but thought others
might like to know. It's too soon for me to tell whether this will
take care of my original problem. (I was seeing emails moving to
the Undelivr folder with errors as follows in my exception log:
"Error","scheduler-0","05/08/08","16:01:14",,"[EOF]"
com.sun.mail.smtp.SMTPSendFailedException: [EOF] )