Fixed
Details
Assignee
Michael OffnerMichael OffnerReporter
Zac SpitzerZac SpitzerPriority
CriticalFix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Zac Spitzer
Zac SpitzerPriority
Fix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Created 6 October 2017 at 00:47
Updated 5 October 2020 at 02:07
Resolved 4 April 2018 at 15:53
if an email ends up in the mail spool with a missing from address, lucee tries 5 times to send the email
despite the fact that it's never going to be sent, which apart from being pointless, it generates log spam
also acf throws an error when from is empty from the cfmail tag
the error message could be improved too
you have do define the from for the mail
lucee.runtime.exp.NativeException: you have do define the from for the mail
at lucee.runtime.net.smtp.SMTPClient.createMimeMessage(SMTPClient.java:445)
at lucee.runtime.net.smtp.SMTPClient._send(SMTPClient.java:808)
at lucee.runtime.spooler.mail.MailSpoolerTask.execute(MailSpoolerTask.java:120)
at lucee.runtime.spooler.SpoolerTaskSupport._execute(SpoolerTaskSupport.java:103)
at lucee.runtime.spooler.SpoolerEngineImpl.execute(SpoolerEngineImpl.java:601)
Lucee does throw an error if to is omitted, but there's a typo too
One of the following attribtues must be defined [to, cc, bcc]
acf also includes CFMAIL in the error message which helps debugging
https://trycf.com/gist/7c555f05571e21cc76bc88ca37b7f51c/lucee5?theme=monokai