Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Mail "Maintain Connection" Setting Inverted

New Here ,
May 09, 2008 May 09, 2008
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] )
1.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 12, 2008 May 12, 2008
Follow-up note: Removing the checkmark does seem to have resolved my initial problem. I am no longer seeing [EOF] errors (which were causing ColdFusion to move .cfmail files into the Undelivr folder).

Also, a bit more information about my configuration: I'm spooling emails to disk, and I'm running 64-bit ColdFusion on Windows 2003 Server SP2.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 29, 2008 Jul 29, 2008
Hi Steve,

Do you still have "Maintain connection to mail server" deselected? I have the same problem with EOF errors and was curious if you found any other solutions?

Thanks
Jeff
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 29, 2008 Jul 29, 2008
Yes, I still have it deselected. And it still seems that ColdFusion's handling of the setting is reversed from what the administrator interface states. I checked the detailed logging again after I installed Cumulative Hotfix 1, and the logging still indicates that the connection is maintained when the setting is deselected and the connection is repeatedly reset when the setting is selected. I have not had any problems since deselecting "Maintain connection".

I would certainly recommend deselecting "Maintain connection to mail server".

Steve
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 29, 2008 Jul 29, 2008
LATEST
Thanks. I'll keep it deselected.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources