- edited description
WebGUI PDF email attachment wrong filename / file extension
I have sent some emails to my customers. These mails are archived in Piler. The got a short text, my signature in HTML and an attachment.
All these mails I have sent a few hours ago have the attachment link like “RE_2148.202008.pdfContent-Type: application/pdf” – also the downloaded file have the exact same filename – and i not readable with the file extension “pdfContent-Type: application/pdf”. When I remove “Content-Type: application/pdf” it is the regular PDF file.
As I see now all emails in the archive with PDF attachment have this problem.
Word or PNG files attached are displayed / linked / downloaded correctly.
The wrong filename is stored in the attachment table in database.
Problem 2:
I don’t know if this has something to with this problem (before I open a new ticket): These mails have no text (which I wrote with the attachment). Some of these mails a replied on emails which had conversations. The older conversations are displayed, but the text I wrote with the mail is also missing.
When I download the .eml file and open it I can see the whole email – attachment (correct) and the text I wrote that is missing in piler.
This problem is solved with pull request #20
I think it is because Apple Mail allows everywhere in the email to drop the attachment. And after the attachment starts a “new” part that get eached – so the text before that attachment is missing because only the last part get displayed.
Comments (14)
-
reporter -
reporter - edited description
-
reporter - edited description
-
reporter - edited description
-
reporter - edited description
-
repo owner I’ve merged your pull request, thank you. Can you attach such a non sensitive email that I could see and fix the problem for myself?
-
reporter Cannot attach file here in PR comments. Uploaded it here: https://www.ka-mediendesign.de/testmail_applemail.zip
-
repo owner Thanks, I’ve downloaded it. I’ll keep you posted.
-
repo owner - changed status to resolved
Check out this patch, it fixes the issue:
https://bitbucket.org/jsuto/piler/commits/f514d68bd1d602dd3de8e75a76e7661ef43bf6dc
-
I also have the issue, that pdf are named like `
Angebot-133.pdfContent-Type: application/pdf`
, but i not every time (Named with _ is ok, named with - not). I have the current patch installed.
-
Also recognized, that i have the Mails two times in piler:
-
repo owner Can you share the eml file for these 2 “Test-Mail 2” emails?
-
The one has sensitive data that i do not like to post here, but would send it to you via mail or something like that.
I could share another files, but both have failed (allthough of named with - and _)
-
Mails ( no sensitive data)
https://cloud.gigabit.de/index.php/s/L5eSMBXE8q6sCgtOne Mail is listed two times (verified and nonverified), other just single
- Log in to comment