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

Free Support Forum - aspose.com


Hi when I use the trial licence you get a Licence.txt file added to a mapimailmessage when you save it .. does this go away in the licenced version.
This message was posted using Aspose.Live 2 Forum


Thanks for considering Aspose.

License.txt should not be added to the message after applying a valid license (even if it is trial license). Please make sure to call License.SetLicense() method before using any class from Aspose.Network library. Below is the sample code for applying license.

// set license
Aspose.Network.License lic = new Aspose.Network.License();

// create and save message file
MailMessage msg = new MailMessage("from@domain.com", "to@domain.com", “subject”, “body”);
msg.Save(“mail.msg”, MailMessageSaveType.OutlookMessageFormat);

For more details, please visit http://www.aspose.com/documentation/.net-components/aspose.network-for-.net/licensing.html.