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("email@example.com", "firstname.lastname@example.org", “subject”, “body”);
For more details, please visit http://www.aspose.com/documentation/.net-components/aspose.network-for-.net/licensing.html.