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

Free Support Forum - aspose.com

MapiMessage.Save() should save different formats like MailMessage

Hello,

the MailMessage class has good support different email formats like *.MHTML etc.

MailMessage.Save(Stream, MailMessageSaveType)

The the MapiMessage class lacks this possibilities to save to different output format.

In our code the starting point is an *.MSG file which is opened with an MapiMessage object. To save the different format we first must convert the MapiMessage object to MailMessage object.

The handling will be much easier if the MapiMessage has similier save methods like the MailMessage.

Thanks in advance, Martin

Hi Martin,


Thank you for your inquiry.

MapiMessage class is specially designed to work only with Outlook Message format, that is .Msg. On the other hand MailMessage class is designed to work with email messages in generic. So the purpose of not providing save functionality for other message formats (Eml and Mht) is obvious.

By the way, I will check with development team on this matter and will let you know what they say regarding your query.

Regards,