CFMAIL messages wrongly moved to Undelivr Folder

Community Beginner ,
Feb 18, 2021 Feb 18, 2021

Copy link to clipboard

Copied

I'm experiencing a problem with CF2018. We would randomly get messages moved into the Undelivr folder, around 4-5 a day. The sample is a message that was actually delivered and received by the recipient but it was logged as below. This has caused much confusion on what is actually NOT sent. Also when we have attachements that fall in the Undelivr folder they cannot be requeued in anyway since the atachment is removed after it gets into the Undelivr folder. 

 

Mail.log:

"Error","scheduler-1","02/03/21","14:36:39","","com.sun.mail.smtp.SMTPSendFailedException: 250 2.0.0 113JadXw020604 Message accepted for delivery ;   nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 <test>... User unknown "

Mailsent.log:
"Information","scheduler-1","02/03/21","14:36:39","","Moved undelivered mail: Mail12193529479958483137.cfmail to D:\ColdFusion2018\cfusion/Mail/Undelivr directory"

exception.log

"Error","scheduler-1","02/03/21","14:36:39","","com.sun.mail.smtp.SMTPSendFailedException: 250 2.0.0 113JadXw020604 Message accepted for delivery ;   nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 <test>... User unknown "
com.sun.mail.smtp.SMTPSendFailedException: 250 2.0.0 113JadXw020604 Message accepted for delivery
;
  nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 <test>... User unknown

at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1328)
at coldfusion.mail.MailSpooler.sendMessage(MailSpooler.java:1541)
at coldfusion.mail.MailSpooler.deliver(MailSpooler.java:1354)
at coldfusion.mail.MailSpooler.sendMail(MailSpooler.java:1251)
at coldfusion.mail.MailSpooler.deliverStandard(MailSpooler.java:1690)
at coldfusion.mail.MailSpooler.run(MailSpooler.java:1655)
at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:260)
at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:71)
Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 <test>... User unknown

at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1932)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1301)
... 7 more

 

 

This is occurring everyday at random times with a few messages (4-5).

 

How do I stop CF from moving into the Undelivr folder if an email is actually sent out? Also how can I capture the attachemnt so it can be requeued instead of having to figure out who sent it and have them resent it with the attachment? Is there any options for this?

 

CF2018 Standard Edition

Version: 2018.0.10.320417

Windows Server 2016

Java Version 10.0.1

Java VM v10.0.1+10

 

Thank You.

Kurtis

 

 

Views

63

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct Answer

Community Beginner , Feb 25, 2021 Feb 25, 2021
The problem is not the TO recipient, they received the email accordingly but there was also a CC'd email which was invalid as BKBK noted causing the exception log. thank you BKBK.

Likes

Translate

Translate
Adobe Community Professional ,
Feb 19, 2021 Feb 19, 2021

Copy link to clipboard

Copied

It's exactly what it says: an SMTP error. So I don't think we can lay this one at ColdFusion's door. 

 

The error suggests that the SMTP server does not recognize the e-mail address. The address may be invalid or the SMTP server may be rejecting it for some other reason.

 

Do a test: send a test e-mail manually to the address. Does it work?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 22, 2021 Feb 22, 2021

Copy link to clipboard

Copied

Hi BKBK,

Thank you for your response. 

 

However the message was actually sent and received, but it was still logged with the SMTP error plus message placed in Undelivr folder which causes a false-negative where we don't know if all messages placed in Undelivr folder were actually sent or not.

 

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Feb 23, 2021 Feb 23, 2021

Copy link to clipboard

Copied

> Do a test: send a test e-mail manually to the address. Does it work?

 

What was the result?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Feb 19, 2021 Feb 19, 2021

Copy link to clipboard

Copied

There are lots of reasons why an SMTP server might be rejecting your email. Some of them are things you might be able to fix. A quick guess is that your CF server isn't set up as a legitimate mail sender in your own DNS records. This is handled by SPF, DKIM and DMARC.

 

https://blog.mailtrap.io/550-5-1-1-rejected-fix/

 

Dave Watts, Eidolon LLC

 

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 25, 2021 Feb 25, 2021

Copy link to clipboard

Copied

LATEST

The problem is not the TO recipient, they received the email accordingly but there was also a CC'd email which was invalid as BKBK noted causing the exception log.

 

thank you BKBK.

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines