Answered by:
Outlook desktop Client is Embedding .msg file attached

Question
-
Helllo All,
I would like to ask you if there is something wrong in the way outlook desktop app 2013 is handling the attachments? whe the files attached are ".msg" files I have seen a strange behaviour for example if I send and Email from outlook app 2013 to a gmail account .. because the ".msg" files are being display with the name "no name" and attachment cannot be opened from Gmail another thing is the content of the every attachemnt sent from Outlook 2013 app is appearing as "forwaded Message" on the Body of the mail received on Gmail.
By Checking with MFCMAPI tool I have checked the method used when the .msg files have been attached from outlook is "ATTACH_EMBEDDED_MSG" and when the files have been attached from a browser for example those have the method as " ATTACH_BY_VALUE"
Well the problem I am having is only when sending ".msg" files attached from outlook app 2013, this is causing an application I have which I am working with c++ MAPI, does not process correctly that type of file, because attaching any other file other than ".msg" files ... those work as expected.
I would appreciate any feedback on this behaviour, thanks in advance for your time.
Tuesday, May 21, 2019 5:53 PM
Answers
-
Hi Camus,
I'm writing to see if the information above is useful to you.
If yes, it's recommended to mark it as answer so that it can be more easily for others who have a similar question to find the information.
If you have further concern, please feel free to tell us.
Have a nice day!
Regards,
Perry
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.
Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.- Marked as answer by Camus_321 Monday, May 27, 2019 1:33 PM
Monday, May 27, 2019 5:13 AM
All replies
-
Why outlook is changing the properties of the '.msg' files attached like if it they were EMBEDDED attachments, the problem only occurs when attaching .msg files to an Email on the outlook Desktop client 2013.. it does not happend when attaching other types of files ie. .doc.pdf..etc attaching those cause no problem.
any suggestion or feedback will be apreciated..Thanks in advance for your time!
- Merged by Aidan WangMicrosoft contingent staff Wednesday, May 22, 2019 5:54 AM duplicate
Tuesday, May 21, 2019 6:09 PM -
Hi Camus,
Does recipient also use Outlook desktop client? Or receive .msg attachment on the web mail?
I also tested on Outlook 2013 and Outlook 2016.
1. Send emails with .msg attachment(test.msg) to a Gmail account via Outlook client.
- When received on another Outlook client, attachment(test.eml) can be opened in Outlook client correctly.
- When checked on Gmail web mail, attachment shows as noname.eml. I download it to a local folder, and it can be opened with Outlook client.
2. Directly send email via web mail
The .msg attachment shows normally but still need Outlook client to open it.
I've searched a lot but haven't found related official articles. As this can be reproduced on both Outlook 2013 and Outlook 2016, I’m afraid this behavior may be by design.
Besides, although it was turned to noname.eml, we can still download it to a local folder and open it with mail client. The content didn’t lose. We cannot directly open .msg file via browser, either.
Considering this situation, it would be better to check the message on Outlook client instead of Gmail web mail.
Hope the information is helpful to you.
Regards,
Perry
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.
Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.- Edited by Perry-Pan Wednesday, May 22, 2019 11:56 AM
Wednesday, May 22, 2019 2:19 AM -
Thank you so much for the information Perry,
I tested the behaviour on Gmail web mail in order to check if it was something related to Outlook
the main reason is because I am using the drag and drop feature from outlook 2013 to an application I have to save the Emails and saving the attachments separately, the application process any type on attachments except the one I mentioned ".msg" and it happens only when ".msg' attachment has been created and sent from Outlook 2013 desktop client. I am not sure if this is related to a bug or something that maybe outlook is modifying something at the time of creating and sending the Emails with ".msg" files attached
Not sure if its hidding the ".msg" files attached to the Email, the properties on the Email Attachment I have been cheking them on MFCMAPI utility also I have tried attaching ".msg" files from that Utility and at the time of attaching I notice the attachment appears like "test.msg" and that works fine, but when attaching a ".msg" file in the outlook desktop client the attachment it is being displayed as "test" with no extension.
It seems like if outlook was Embedding the ".msg" files, not sure if it is taking the ".msg" files as a forwadded message and adding it as part of the body.
When attaching a ".msg" file to an Email in outlook the Method used in Attachment table is:
ATTACH_EMBEDDED_MSG
When Attching any other file different from ".msg" The Method used in Attachment table for the attachment is:
ATTACH_BY_VALUE
- Edited by Camus_321 Wednesday, May 22, 2019 1:25 PM
Wednesday, May 22, 2019 1:24 PM -
Another thing I noticed is when creating a new Email on outlook desktop client and attaching a ".msg" file created on ie. gmail on the "attachment section" the name of the attachment is displayed containing the file extension like this " Test.msg" , but when attaching a ".msg" file created on Outlook .. on the attachment section the name of the attachment is displayed without the file extension like this "Test".
For example :
From: test@hotmail.com
To: test1@hotmail.com
CC:
Subject: Differences from .msg file created on outlook client against gmail web mail
Attachment: Test.msg;Test
Wednesday, May 22, 2019 4:26 PM -
Hi Camus,
I did lots of search and there seems to be no official article about this issue. I cannot directly say why this situation occurs.
I don’t quite understand how you create .msg file from Gmail. If I download an email directly from Gmail web mail, it was a .eml file. But it’s true if I attach the .msg file (created from outlook), Outlook will not display the file extension.
This is good question. I haven’t noticed the difference before. Thank you for bringing this to my attention. I’ll help submit a feedback on Outlook UserVoice. If I’ve got any updates, will get back to you.
Regarding your concern, I’m wondering if we can check Gmail on Outlook client instead of web mail. Or, we may save the message to another format, such as .oft or .html
Thank you for your understanding and support!
Regards,
Perry
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.
Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.Thursday, May 23, 2019 6:22 AM -
Thank you!!
Well about the messages on Gmail, I am just creating the Email on Gmail and attaching the ".msg" files
Then sending it to my hotmail Acoount that I have added to Outlook desktop client 2013
Then checking that Email received on Outlook desktop client I noticed on the attachments section the ".msg" files are displayed like this: "Test.msg" but when attaching a ".msg" file on outlook 2013 is attaching it like this: "Test" without extension all the time.
Thanks again for the information Perry!, I will be aware about any update related to this!
Thursday, May 23, 2019 1:21 PM -
Hi Camus,
I got some information from an MVP. Following is the details:
Background info
When you send an email from Outlook as an attachment, you are basically sending a msg-file, which can only be opened by Outlook. If the recipient doesn’t have Outlook, he/she won’t be able to open it.
However, and this is specific to msg-files, during transmission, the attached msg-files are often extracted and converted into eml-files by the receiving mail servers (or at least when displayed in the web interface).
Recipients will then be able to open these eml-files with various locally installed mail clients but sometimes even on the web.
However, the web interfaces of Gmail and Outlook.com do not support opening eml-files on-line (in the browser) so the recipient will have to download it first and then open it locally.
- msg-files will arrive in Gmail as: noname.eml
- In Outook.com, msg-files will arrive as <original subject>.eml but that attached message will also be extracted (and thus readable) at the bottom of the original message itself.
- In a Horde based web mail client, the attachment will show as: unnamed. Sometimes, there is also an “Alternative parts for this section” block displayed in the message body. When you click on unnamed in that section, a Plain Text version of the message will be displayed in the browser.
Workaround:
1. Configure your Gmail account on Outlook client.
2. To be safe, you can use the html-, txt- or pdf-format. You can save your emails directly as html- or txt-files before attaching them.
From the information above, this is by design. If you still have any concern to this feature, please feel free to tell us. I may help you submit a feedback.
Hope the information is helpful to you!
Regards,
Perry
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.
Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.Friday, May 24, 2019 4:50 AM -
Hi Camus,
I'm writing to see if the information above is useful to you.
If yes, it's recommended to mark it as answer so that it can be more easily for others who have a similar question to find the information.
If you have further concern, please feel free to tell us.
Have a nice day!
Regards,
Perry
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.
Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.- Marked as answer by Camus_321 Monday, May 27, 2019 1:33 PM
Monday, May 27, 2019 5:13 AM