Quantcast
Channel: Aspose.Email Product Family
Viewing all articles
Browse latest Browse all 1367

MapiMessage.FromFile failing to retrieve all attachments

$
0
0
Maria.Shahid:
Hi,
Sample Code:

MapiMessage msg = MapiMessage.FromFile(dataDir + "NYCDOELeadResultsNotificationK843.msg");



I tried this, with MapiMessage instead of MailMessage.The "count" increased to the correct number, however the third attachment found, instead of being the second spreadsheet (attached to the .msg in question are 2 .xlsx, 1 .pdf), was the .jpg in the email signature.

MapiMessage.FromFile has the same issue of failing to retrieve all attachments as MailMessage.Load.


Viewing all articles
Browse latest Browse all 1367