Hello,
Please help me out on this issue as soon. Our production environment is down because this issue.
We are using Aspose component version Aspose.Network.dll 6.3.0.0.
Please rename the attached message file from .zip to .msg I am attaching as zip file extension.
msg object does not have the attachment count. for the message item
E201307120000015.msg
I have two message file attachement for you reference. Please check and let me know your solution for this. This is very urgent.
Not working -
E201307120000015.msg
Working -
E201307160000002.msg
Issue in this sample code.
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);
}
This is very urgent. Please help out
Thanks & Regards,
P. Saravanan.