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

Free Support Forum - aspose.com

Aspose EMail getting saved as draft

I am using aspose 5.9. When I save a mail using MailMessage.save . It is getting saved as draft. Earlier it was getting saved as sent email


Thank you for contacting Aspose support team.

Earlier the default setting for saving a MailMessage was “Sent” , where as now it is created in Draft mode by default. Please use the isDefault flag to generate the MailMessage in required mode i.e. sent or draft.

MailMessage mail = <span style=“font-size:9.0pt;font-family:“Courier New”;mso-fareast-font-family:“Times New Roman”;

<span style=“font-size:9.0pt;font-family:“Courier New”;
mso-fareast-font-family:“Times New Roman”;color:navy”>false

<span style=“font-size:9.0pt;font-family:“Courier New”;
mso-fareast-font-family:“Times New Roman”;color:green”>“output.msg”
, SaveOptions.getDefaultMsgUnicode());

Thx man …Worked.

I had another query Waqas. I own a license which I used for Aspose.Email 4.4. Can I use the same license for Aspose.Email 5.9 ?


You may please open your license in some editor like notepad and check the expiry date enclosed in and tags. You can use all the Aspose.Email libraries which are released prior to this date. Any version which is released after this date cannot be used with this license.

Please feel free to write us back for any other query in this regard.