The following message in the email log file:
An exception occurred when setting up mail server parameters. This exception was caused by: coldfusion.mail.MailSpooler$SpoolLockTimeoutException: A timeout occurred while waiting for the lock on the mail spool directory
There have been some issues with connecting to the email server.
Per my research, the email spool is on disk. I cannot find the location.
In the CF administrator, there are no emails undelivered.
When try to send an email from the production server, the email times out.
Using Cold Fusion 11.
Is there a return code that be checked within the Cold Fusion code?
The default spool folder is usually "C:\ColdFusion11\cfusion\Mail\Spool"
Do you get the same error if you don't spool the email and send it directly? Does the email send ok when not spooled? Does a restart of the CF service fix the issue?
On restarting the service, is that the ColdFusion11 Application Server or the ColdFusion 11 Add-on Services?
On the "don't spoo the email", does that mean not selecting the "Spool mail messages for delivery" option in the administrator?
The application server, but no harm in restarting all the services.
The option for no spooling is the one you mentioned. Alternatively you can apply the spool="no" attribute to the cfmail tag that you are using.
Also, what is the spool interval time set to?
The spool interval time is set to 15 seconds.
I put the spool="no" in the CFmail and the error come up right away.
Do you follow any lock down guides? I assume the email server i perfectly fine?
Is the problem intermittent or on every email? Did you restart the services?
The server is production. Cannot restart the services during the day and need permission to do so.
Email was working and is not working now. There has been not any changes to the CF admin.
There has been an issue with the email server. It is currently being looked at.
I noticed that when an email is sent, it's not appearing in the mailsent.log file.
Also, I have put spool="no" in the CFmail and the "
There are no messages of undelivered email or errors. The pages errors out with the following:
An error occurred while executing the application. Please try again or contact the administrator.
Below is the sample used. It works in the other environments but not in production.
Email attempt. Test email.
Does cfmail wait for a confirmation from the email server?
What does the coldfusion-out.log say? If you are getting the page saying an error occurred, then there should be something in that log file to tell you why.
The message in the log file stated the spool="no" was not vaild. I removed it and now the email works.
Sorry that was my bad as its spoolenable='yes'
Usual story though, always read the logs on errors.