Skip to main content
Inspiring
May 8, 2015
Question

Cold Fusion 11 email

  • May 8, 2015
  • 1 reply
  • 2008 views

Hi,

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?

Thanks,

Mike

    This topic has been closed for replies.

    1 reply

    Inspiring
    May 8, 2015

    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?

    userCold9Author
    Inspiring
    May 8, 2015

    Hi,

    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?

    Thanks,

    Mike

    Inspiring
    May 8, 2015

    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?