hi, i have purchased a license for aspose.network.
I have a problem opening some emails, with pdf attachments. The email are saved to disk with MS Outlook in MSG Format. The original email messages are sent by a Fax Server, for incoming fax calls.
The Fax Server, when it comes a fax call, it saves the pages in PDF forrmat, then it sends the PDF attached to an email. The resulting email, is saved by a MAPI application in MSG format. If I try to open that file with MSOutlook, everything is ok. There is a PDF attached, with the "image" of the FAX. If I try to open that file with aspose.network, there are 2 PDF attached, with the same name. One is the PDF with the fax, and one is an empty attachment... and i'm not able to see inside it.
Please also refer to http://www.aspose.com/documentation/utility-components/aspose.network-for-.net/load-from-a-microsoft-outlook-message-file.html for reading outlook msg files.
hi, thank you for attention. I cannot do that thing... That file, is an email, for me. When i open it, i don't know if it is a "Mapi originated email", or a "standard eml email message".
If you are loading file from disk, you can read email in both eml and msg formats. Parse the filename and get the extention and call the overloaded function "FromFile" with respective parameters. See the code below for example.
string strExtention = "eml"; // parse the extention of the file