Details
-
Bug
-
Resolution: Fixed
-
Major
-
5.6.0
-
None
-
None
-
Empty show more show less
-
Yes
-
DevX 44
-
3
-
Yes
Description
Steps to reproduce
- open mail tools app
- choose an assets to send
- click send
An error message pops up.

In log following message will be logged:
ERROR info.magnolia.module.mail.app.verify.MailVerifyPresenter 31.03.2023 09:58:01 – Unable to send email.
java.io.FileNotFoundException: blume.jpg (Permission denied)
    at java.io.FileOutputStream.open0(Native Method) ~[?:1.8.0_362]
    at java.io.FileOutputStream.open(FileOutputStream.java:270) ~[?:1.8.0_362]
    at java.io.FileOutputStream.<init>(FileOutputStream.java:213) ~[?:1.8.0_362]
    at java.io.FileOutputStream.<init>(FileOutputStream.java:162) ~[?:1.8.0_362]
    at info.magnolia.module.mail.app.verify.MailVerifyPresenter.sendSimpleMail(MailVerifyPresenter.java:178) [magnolia-module-mail-5.6.jar:?]
    at info.magnolia.module.mail.app.verify.MailVerifyViewImpl$1.buttonClick(MailVerifyViewImpl.java:75) [magnolia-module-mail-5.6.jar:?]
Expected results
Mail should be send with attachments.
Development notes
Reason is that the temp files will be created at root in the filesystem and not in the temporary folder.
Checklists
Attachments
Issue Links
- is related to
-
MGNLMAIL-109 Cannot send email with attachments on cloud demo
-
- Closed
-