Running CF 9.0. Every now and then a mail file will end up in the undelivr folder. For example our external SMTP server is twitchy, and sometimes there is no connection (briefly). Other times it's impossible to tell why the mail fails to be sent. The mail log says "The ColdFusion mail spool encountered an invalid spool file..." and of course the file is moved to the undelivr directory.
Well... once there I cannot get the mail to send by moving it back to the spool directory. Once the file ends up as undeliverable it will not go. It just gets re-sent to the undelivr folder.
These emails are not malformed. They are automated messages to me and other ediotors that something has occurred on the server. Email addresses are good, etc. These scripts are many years old and they have always works flawlessly until CF9. Trust me, the files should go out just like all the other ones that do.
OK, I've searched this forum and the Internet for like problems and fixes. I've tried restarting CF and then moving the files back to the spool, deleting the first file that didn't go out (if more than one file is in the undelivr folder), and saving as ASCII, UTF-8 no BOM, and even copying & pasteing the mail into notepad and saving back to the spool. I've tried turning off TLS. (The SMTP server is SSL) I've tried turning off the spooler. Nothing works. No matter what I have tried, if it ends up in the undelivr directory it will not go out from the spooler.
Has anyone any ideas? I've been programming CF since version 4 and I can usually figure these types of things out, but this one is a tough one. Any help would be appreciated.