Quantcast
Channel: Adobe Community : Popular Discussions - ColdFusion Server Administration
Viewing all articles
Browse latest Browse all 78799

Mail Spool Service Exception - Email Processing Stops

$
0
0

Environment:

Coldfusion 8.0.1 Hotfix hf801-71800  Both Standard and Enterprise.

Windows 2003 SP2

Microsoft Exchange Server Version unknown.

 

Issues:

We are testing a new application.  We purposely made some addresses invalid so that the Emails would not go out to bother our customers, our Exchange Server's SMTP is set to reject all Emails that have invalid addresses.  That is how we found the issue.

 

Our issue is that the Coldfusion server logs a single error message from the first rejected Email, "Invalid Addresses" with a date/time stamp in the mail.log, and the Mail Spool Service stops processing any additional Emails.  The Emails start stacking up in the Spool folder, but none are sent or in any other way processed  This behavior works the same way with Emails that have and do not have attachments.

 

That is our basic issue.  We understand that when an error message comes back, the Email is should be moved to the the Undelivr folder and other Emails should be processed.  Instead a single error message is posted.

 

We have verified this behavior on both the Standard and Enterprise Coldfusion server versions at our installation.

 

What are we missing, that would fix the Coldfusion Server's behavior?

 

Please note that we have extensively tested the situation and have the following test results.

 

 

Situation 1:

When the Mail Spool Service is working and the Email has all valid (25+) addresses it is sent out correctly with our existing code to all addressees and follow-on Emails were correctly processed.

 

 

Situation 2:

When the Mail Spool Service is working and the Email has an invalid (one of 50+) addresses it logs the single error to the mail.log and the Mail Spool Service stops processing follow-on Emails with our existing code.

 

 

Situation 3:

We sent an Email with "Invalid Addresses", the Email processing stopped.  We removed the Email with the  from the Spool folder.  The other Emails were not processed until the Mail Spool Service was restarted (either by accessing the ServiceFactory via code and executing <cfset MailSpoolService.start()> or by using the Windows 2003 Computer Management tool to restart the ColdFusion 8 Application Server.

 

 

Situation 4:

We restarted the Mail Spool Service after removing the Email with "Invalid Addresses", successfully processing Emails and then tried to drop the Email with "Invalid Addresses" into the Spool folder to see if we could generate more information.  We DID!  The mail.log got the "Invalid Addresses" Message and the Mail Spool Service stopped; But then (and only in this case, all other cases show no messages) the exception.log finally had the following messages:


"Error","scheduler-0","current day","16:57:52",,""

java.lang.NullPointerException

at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:557)

at coldfusion.mail.MailSpooler.deliver(MailSpooler.java:854)

at coldfusion.mail.MailSpooler.sendMail(MailSpooler.java:753)

at coldfusion.mail.MailSpooler.deliverFast(MailSpooler.java:1114)

at coldfusion.mail.MailSpooler.run(MailSpooler.java:1024)

at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201)

at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:71)

 

That is the only other Error listed in any of our Coldfusion logs.

 

 

Please help!  Request the Adobe Coldfusion personnel respond to this request for help too!

 

Other notes:  We have been adding security related hotfixes as soon as we know of them.  If you know of an issue with specific hotfixes please let me know.


Viewing all articles
Browse latest Browse all 78799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>