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

Free Support Forum - aspose.com

ArgumentNullException saving MSG to EML


During a batch conversion of MSG files to EML files several MSG files return an error ‘ArgumentNullException’ while trying to save the loaded MSG file to EML.

by Aspose.Email.Mail.MailMessage.?()
by Aspose.Email.Mail.MailMessage.set_HtmlBody(String value)
by Aspose.Email.Outlook.MailMessageInterpretor.LoadMessageBodyHtml(MailMessage mailmessage, MapiMessage mapiMessage)
by Aspose.Email.Outlook.MailMessageInterpretor.LoadMessageBody(MailMessage mailmessage, MapiMessage mapiMessage)
by Aspose.Email.Outlook.MailMessageInterpretor.Interpret(MapiMessage mapiMessage)
by Aspose.Email.Mail.MailMessage.Load(Stream stream, MessageFormat format)
by Aspose.Email.Mail.MailMessage.Load(String fileName, MessageFormat format)

Attached a MSG file that returns the above error.

Is there a workaround for this?

Hi Eric,

We are sorry for the inconvenience you are facing.

I was able to reproduce this issue at my end using the latest version of Aspose.Email for .NET 2.3.0 and have logged it as NETWORKNET-33536 in our issue tracking system. Our development team will further investigate this issue and once we have any information in this regard, we will update you here.

Hello Kashif,

Thanks for the reply and the logging.

Awaiting the reply…

Kind Regards,


The issues you have found earlier (filed as NETWORKNET-33536) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.