how to save attachments from .eml files in C#
I am using System.Net.Mail and System.Net.Mime classes and trying to open an .eml file and save the attached images, I got the attachments count by object.attachments.count
but unable to save the attachments to the physical drive and also I am losing the format of the body when I assign the email.body to the new outputMessage object. please help.
1 Attachment(s)
Re: how to save attachments from .eml files in C#
Been there, tried to do that and got absolutely nowhere.
I then decided to make an Outlook add in, that saves each file to disk.
Have a look at the attachment and see if it helps ytou
Re: how to save attachments from .eml files in C#
Extracting attachment is easy with a third party tool. you can extract attachments from EML via the Softaken EML Attachment Extractor tool.