Issues
- cfmailparam doesn't log an error when it can't attach a fileLDEV-4499Resolved issue: LDEV-4499Pothys - MitrahSoft
- email attachment filenames are sometimes corruptedLDEV-4249Resolved issue: LDEV-4249Pothys - MitrahSoft
- Lucee ignores cfmailparam name="Message-ID"LDEV-2473Resolved issue: LDEV-2473Pothys - MitrahSoft
- Mail attachment file not unique using content attributeLDEV-1085Resolved issue: LDEV-1085Michael Offner
- Inline Images in Emails are BrokenLDEV-994Resolved issue: LDEV-994Igal Sapir
- add support for attribute filename to cfmailparamLDEV-885Resolved issue: LDEV-885Michael Offner
- Cfmailparam with disposition="inline" sends images as attachmentsLDEV-876Resolved issue: LDEV-876Igal Sapir
- Emails with attachments should be multipart/mixed but appear to be multipart/relatedLDEV-770Resolved issue: LDEV-770Igal Sapir
- cfmailparam file=filename saves to non-unique temp fileLDEV-690
- cfmailparam Throws smtp.yoursmtp.net java.lang.NullPointerException with ram:// resourceLDEV-614Michael Offner
10 of 10
cfmailparam doesn't log an error when it can't attach a file
Fixed
Description
Environment
None
Details
Assignee
Pothys - MitrahSoftPothys - MitrahSoftReporter
Zac SpitzerZac SpitzerPriority
NewLabels
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
Pothys - MitrahSoft
Pothys - MitrahSoftReporter
Zac Spitzer
Zac SpitzerPriority
Labels
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 25 May 2023 at 13:48
Updated 29 May 2023 at 09:44
Resolved 29 May 2023 at 09:44
Activity
Show:
Zac Spitzer25 May 2023 at 15:27
@Pothys - MitrahSoft cool, I was under the impression that it wasn’t logging. good that it is
Pothys - MitrahSoft25 May 2023 at 15:10Edited
@Zac Spitzer checked this issue and cfmailparam file attachment using a https url(https://www.goxplore.dk/7E13BF8656C1C2E003D93FADF9DB6205.pdf), it throws “Cannot attach file to mail [https://www.goxplore.dk/7E13BF8656C1C2E003D93FADF9DB6205.pdf], the file doesn't exist” error.
I got an log from Exception.log
"ERROR","ajp-nio-8009-exec-3","05/25/2023","19:27:07","","Cannot attach file to mail [https://www.goxplore.dk/7E13BF8656C1C2E003D93FADF9DB6205.pdf], the file doesn't exist;lucee.runtime.exp.ApplicationException: Cannot attach file to mail [https://www.goxplore.dk/7E13BF8656C1C2E003D93FADF9DB6205.pdf], the file doesn't exist
at lucee.runtime.tag.Mail.setMimeattach(Mail.java:343)
at lucee.runtime.tag.Mail.setParam(Mail.java:626)
at lucee.runtime.tag.MailParam.doStartTag(MailParam.java:217)
at test.testcases.ldev4499.test_cfm$cf.call(/test/testcases/LDEV4499/test.cfm:2)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1056)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:948)
at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:219)
at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:44)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2493)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2478)
at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2449)
at lucee.runtime.engine.Request.exe(Request.java:45)
at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1216)
at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1162)
at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:97)
at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:51)
..."
https://dev.lucee.org/t/cfmailparam-suddenly-cant-find-attachments/12617/11
this was a case of a file attachment using a https url which couldn’t be loaded due to ssl cert problems (old cacerts)
expected behaviour, an error should be logged
question is should this be validated pre spool too (like we now do with email addresses) as an error on spooling is a silent failure in the background?