An exception occurred while configuring the mail server settings. This Exception was thrown: coldfusion.mail.MailSpooler $ SpoolLockTimeoutException: A timeout occurred while waiting for a lock in the mail spool directory.
I recently started getting this nasty exception in the mail.log file. As soon as this exception occurs, every mail sent from this coldfusion instance raises the same exception.
The only thing that works is to restart the coldfusion server. After a (usually) day or two, the same exception appears again, and we are back in the same situation.
I am aware of a fix for managing mailspool timeout , but all it does is increase the timeout from 30 to 60 seconds. Since emails are sent successfully until I get an exception, I don't think this is my solution.
I also read the thread on the adobe forum where people installed the patch but still get the error.
I also tried the script to restart the mailservice service when this exception occurred, but this did not work for me, as it is not for others with this problem. This would also not be a concrete solution.
- The letters I send arre simple html mails.
- The number of emails sent during the day is not more than 30.
- I sent emails from the same cold cooling server many times before, but with
<cfmail> . This is the first time I submit them to cfscript. I do not know if this has anything to do with it, but only since then I have been using the cfscript <cfmail> equivalent, which I started to get this exception.
All related blog posts that I could find were left unanswered, but also pretty old. I thought someone might have a solution.
Thanks.
(using coldfusion 9.0.1 server on a Windows 2008 server)
jan
source share