-
Bug
-
Resolution: Fixed
-
Neutral
-
5.5.6
-
None
-
-
Empty show more show less
-
Maintenance 47
-
3
Description
When sending an attachment (e.g, at the contact form of travel site), a tmp file is created locally (at tmp folder) and when the attachment is prepared for being sent, the filename of that tmp file is taken instead of original filename uploaded at the file field.
E.g: At the Contact Form, include a File Field and name it as fileToSend (check fieldName.png image).
Now fill the form, select and attachment and send the email.
Check that the info.magnolia.module.mail.templates.MgnlMultipartEmail.addAttachment method sets as fileName the name of the file stored at the tmp folder (check debug1.png and debug2.png images).
Expected results
The filename is the original name of the file attached at the file field of the contact form
Actual results
The filename is a mix of the FIELDNAME followed of a number and the extension of the file is also changed from original to TMP
Workaround
N/A
DEV notes
N/A
Â