We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Email attachment is not reading by the Aspose Email component for this attached item - 482991

Hi,

I am using the dll Aspose.Network.dll. Is this same Aspose.Email.dll?

Please can you send me the latest Aspose.Network.dll for email messages.

Plesase find my code below

private void BtnEmailAttachment_Click(object sender, EventArgs e)

{

byte[] bFile;

bFile = File.ReadAllBytes(@"C:\Email\InBox\E201307120000015\E201307120000015.msg"); // Attachment is not working

//bFile = File.ReadAllBytes(@"C:\Email\InBox\E201307160000002\E201307160000002.msg"); //Attachment is working

MemoryStream InputData = new MemoryStream(bFile);

Aspose.Network.Mail.MailMessage msg;

Aspose.Network.Mail.MessageFormat format = Aspose.Network.Mail.MessageFormat.Msg;

msg = Aspose.Network.Mail.MailMessage.Load(InputData, Aspose.Network.Mail.MessageFormat.Msg);

}

Thanks

P. Saravanan.

Hi Saravanan,


Complete support answer for you this query has already been provided Product Release page using Email Subscription option.