Re: CFMail Issues since Upgrading to CF10
Yes, we regularly send out emails to both internal and external users with no body in the email. The only content that it includes is an attachment and subject. But I guess it might be a good thing to include content from here on end, especially if it falls within the rules of RFC email compliance. Occasionally, I've seen this error happen right after a failed connectivity issue with ColdFusion and the SMTP server. If any emails just so happen to be in queue during the time of the SMTP connection error, then the mails in the spool folder all get sent to the Undeliverable folder. Then when our custom script kicks in to re-spool, it goes right back to undeliverable folder. The error in the logs gives us the same message about the body missing. >So are you saying that some emails with no body are sending? You should >test this to be sure. >I would still change these emails if I were you and add a body as it seems >that solves the issue. >Plus emails eith no body will br blocked by some mail filters. > >Russ Michaels >www.michaels.me.uk > On 19 Jun 2013 14:11, "Zad I" wrote: > >> ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356035 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMail Issues since Upgrading to CF10
>So are you saying that some emails with no body are sending? You should >test this to be sure. >I would still change these emails if I were you and add a body as it seems >that solves the issue. >Plus emails eith no body will br blocked by some mail filters. > >Russ Michaels >www.michaels.me.uk > On 19 Jun 2013 14:11, "Zad I" wrote: > >> ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356034 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMail Issues since Upgrading to CF10
So are you saying that some emails with no body are sending? You should test this to be sure. I would still change these emails if I were you and add a body as it seems that solves the issue. Plus emails eith no body will br blocked by some mail filters. Russ Michaels www.michaels.me.uk On 19 Jun 2013 14:11, "Zad I" wrote: > > Hmmm, if it is enforced then why so randomly? I would've expected this to > occur on every instance. You do bring up a good point though in terms of > reaching external users who may have rules that are a bit more strict than > the norm. Except, this seems to occur locally before it can even hit > externally. > > > >it is actually an RFC that an email must have a body, so I suspect that is > >now enforced in javax.mail.which is a good thing, as this means it is RFC > >compliant. > >As you have said that adding a body to these messages makes them send, > then > >you have already found the solution, just add a body to the original > emails. > > > > > > > > > > > >> > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356018 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMail Issues since Upgrading to CF10
Hmmm, if it is enforced then why so randomly? I would've expected this to occur on every instance. You do bring up a good point though in terms of reaching external users who may have rules that are a bit more strict than the norm. Except, this seems to occur locally before it can even hit externally. >it is actually an RFC that an email must have a body, so I suspect that is >now enforced in javax.mail.which is a good thing, as this means it is RFC >compliant. >As you have said that adding a body to these messages makes them send, then >you have already found the solution, just add a body to the original emails. > > > > > >> ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356010 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMail Issues since Upgrading to CF10
it is actually an RFC that an email must have a body, so I suspect that is now enforced in javax.mail.which is a good thing, as this means it is RFC compliant. As you have said that adding a body to these messages makes them send, then you have already found the solution, just add a body to the original emails. On Tue, Jun 18, 2013 at 5:56 PM, Zad I wrote: > > Ever since upgrading to CF10, we've been having some odd issues with our > automated ColdFusion emails. The processes always functioned properly in > the past, but lately we've been getting some very out of the ordinary > issues which I'll describe further below. > > We discover the problem usually from contacts who usually receive these > emails on a daily basis with or without attachments. We'll go to the > CFMAIL directory for the corresponding server and find a slew of emails > stuck in the 'Undelivr' emails. In some cases, we can just move these > emails to the Spool folder and they process fine, but in most cases they > result in one of the two errors below: > > Error 1: In an email which normally does not contain a body and contains > an attachment, the follow error is what we found in the logs: > - > "Error","scheduler-1","01/15/13","14:09:56",,"javax.mail.MessagingExce > ption: missing body for message" > javax.mail.MessagingException: missing body for message > at > coldfusion.mail.MailImpl.createMessage(MailImpl.java:696) > at > coldfusion.mail.MailSpooler.deliver(MailSpooler.java:1295) > at > coldfusion.mail.MailSpooler.sendMail(MailSpooler.java:1197) > at > coldfusion.mail.MailSpooler.deliverFast(MailSpooler.java:1657) > at coldfusion.mail.MailSpooler.run(MailSpooler.java:1567) > at > coldfusion.scheduling.ThreadPool.run(ThreadPool.java:211) > at > coldfusion.scheduling.WorkerThread.run(WorkerThread.java:71) > --- > Placing these emails that have always been sent out this way in the past > without an attachment in the spool directory causes it to go right back in > the 'Undelivr' folder and resulting in the same error. We ended up having > to modify the email file and add random content in the body message, place > it back in the spool directory, and it went through. - Mind boggling. > > Error 2: > -- > "Error","scheduler-2","02/04/13","09:08:17",,"javax.mail.MessagingExce > ption: Exception reading response; nested exception is: > java.net.SocketException: Connection reset" > > Both errors occur randomly and we have not been able to find out what > causes them randomly from time to time. All other emails go through fine, > but certain emails will never go out and end up in the 'Undelivr' folder. > > We are running them on Windows Server 2008 64bit. > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355968 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMail Issues since Upgrading to CF10
Please attach the code used to generate the emails. We will need that to have any ideas on why they are not working. Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Jun 18, 2013, at 11:56 AM, Zad I wrote: > > Ever since upgrading to CF10, we've been having some odd issues with our > automated ColdFusion emails. The processes always functioned properly in the > past, but lately we've been getting some very out of the ordinary issues > which I'll describe further below. > > We discover the problem usually from contacts who usually receive these > emails on a daily basis with or without attachments. We'll go to the CFMAIL > directory for the corresponding server and find a slew of emails stuck in the > 'Undelivr' emails. In some cases, we can just move these emails to the Spool > folder and they process fine, but in most cases they result in one of the two > errors below: > > Error 1: In an email which normally does not contain a body and contains an > attachment, the follow error is what we found in the logs: > - > "Error","scheduler-1","01/15/13","14:09:56",,"javax.mail.MessagingExce ption: > missing body for message" > javax.mail.MessagingException: missing body for message >at coldfusion.mail.MailImpl.createMessage(MailImpl.java:696) >at coldfusion.mail.MailSpooler.deliver(MailSpooler.java:1295) >at coldfusion.mail.MailSpooler.sendMail(MailSpooler.java:1197) >at > coldfusion.mail.MailSpooler.deliverFast(MailSpooler.java:1657) >at coldfusion.mail.MailSpooler.run(MailSpooler.java:1567) >at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:211) >at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:71) > --- > Placing these emails that have always been sent out this way in the past > without an attachment in the spool directory causes it to go right back in > the 'Undelivr' folder and resulting in the same error. We ended up having to > modify the email file and add random content in the body message, place it > back in the spool directory, and it went through. - Mind boggling. > > Error 2: > -- > "Error","scheduler-2","02/04/13","09:08:17",,"javax.mail.MessagingExce ption: > Exception reading response; nested exception is: > java.net.SocketException: Connection reset" > > Both errors occur randomly and we have not been able to find out what causes > them randomly from time to time. All other emails go through fine, but > certain emails will never go out and end up in the 'Undelivr' folder. > > We are running them on Windows Server 2008 64bit. > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355966 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFMail Issues since Upgrading to CF10
Ever since upgrading to CF10, we've been having some odd issues with our automated ColdFusion emails. The processes always functioned properly in the past, but lately we've been getting some very out of the ordinary issues which I'll describe further below. We discover the problem usually from contacts who usually receive these emails on a daily basis with or without attachments. We'll go to the CFMAIL directory for the corresponding server and find a slew of emails stuck in the 'Undelivr' emails. In some cases, we can just move these emails to the Spool folder and they process fine, but in most cases they result in one of the two errors below: Error 1: In an email which normally does not contain a body and contains an attachment, the follow error is what we found in the logs: - "Error","scheduler-1","01/15/13","14:09:56",,"javax.mail.MessagingExce ption: missing body for message" javax.mail.MessagingException: missing body for message at coldfusion.mail.MailImpl.createMessage(MailImpl.java:696) at coldfusion.mail.MailSpooler.deliver(MailSpooler.java:1295) at coldfusion.mail.MailSpooler.sendMail(MailSpooler.java:1197) at coldfusion.mail.MailSpooler.deliverFast(MailSpooler.java:1657) at coldfusion.mail.MailSpooler.run(MailSpooler.java:1567) at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:211) at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:71) --- Placing these emails that have always been sent out this way in the past without an attachment in the spool directory causes it to go right back in the 'Undelivr' folder and resulting in the same error. We ended up having to modify the email file and add random content in the body message, place it back in the spool directory, and it went through. - Mind boggling. Error 2: -- "Error","scheduler-2","02/04/13","09:08:17",,"javax.mail.MessagingExce ption: Exception reading response; nested exception is: java.net.SocketException: Connection reset" Both errors occur randomly and we have not been able to find out what causes them randomly from time to time. All other emails go through fine, but certain emails will never go out and end up in the 'Undelivr' folder. We are running them on Windows Server 2008 64bit. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355965 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm