Free Support Forum - aspose.com

O get the attachment from .eml file

Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

I am trying to read an attachment from .eml files.

The mails I have received is from apple mobile. This is what I am trying

var msg = MailMessage.Load(@"C:\aout\30680e1401ca74aa000001dc.eml", MessageFormat.Eml);

From msg variable I am trying to get the attachment but there is no attachment.

Actually the .eml file contain 2 attachment.

Hi Anil,

Thanks for considering Aspose.

Could you please post a sample eml file here for our testing? We will look into it.

You may post on this thread or send me via forum options “Contact” --> “Send saqib.razzaq an email”.