When I receive an email as a file attached to an email TB renames it "ForwardedMessage.eml". Why does it do this and can I prevent it happening?.
As an example the email my colleague sent me from Outlook included two attachments that were emails. In the attached partial screenshot (from Squirrelmail) the files start 04.a RE: Draft and 05. AW:FW:ISAP. When I look at this email in TB both attachments have the name "ForwardedMessage.eml". Is there anything I can do to correct this?
선택된 해결법
If the source is Outlook, it will be the way Outlook encodes the information. Check the mime type of the attached files in the message source and that the information is complete and correct. Microsoft have a nasty habit of transmitting everything as Content-Type: application/octet-stream; instead of more specific and accurate mime types eg Content-Type: application/pdf and expecting the rest of the world to code around their sloppiness.
문맥에 따라 이 답변을 읽어주세요 👍 1모든 댓글 (5)
Which part of this is the concern? The renaming, or the .eml filetype?
The renaming. It deletes the original file name (which is not helpful) and results in multiple "ForwardedMessage.eml file leading to name conflicts.
I have added the screenshot I could not add originally.
선택된 해결법
If the source is Outlook, it will be the way Outlook encodes the information. Check the mime type of the attached files in the message source and that the information is complete and correct. Microsoft have a nasty habit of transmitting everything as Content-Type: application/octet-stream; instead of more specific and accurate mime types eg Content-Type: application/pdf and expecting the rest of the world to code around their sloppiness.
Thanks Matt
Thanks Matt (Erroneous duplicate that I do not appear to be able to delete).
글쓴이 Godfreyp 수정일시