We are pleased to announce the release of Aspose.Email for .NET 18.2. This month’s release introduces the capability of Metered Licensing in the API. In addition, it also brings improvements to the API in terms of bug fixes which further add to the overall stability of the API. For a detailed note on what is new and fixed, please visit the release notes section of the API.
Metered License with Aspose.Email for .NET 18.2
We are glad to share the support for Metered Licensing in Aspose.Email API. For those who are new to the term “Metered Licensing”, it is a form of consumptive licensing for which you pay royalties for the use of product every month. You can also visit the Metered Licensing FAQs section to know more about this type of licensing.
Using the Metered Licensing in API
Usage of Metered Licensing scheme is simple and can be used along with existing licensing method. The new licensing mechanism will be used along with existing licensing method. Those customers who want to be billed based on the usage of the API features can use the metered licensing.
Aspose.Email.Metered metered = new Aspose.Email.Metered(); // Access the SetMeteredKey property and pass public and private keys as parameters metered.SetMeteredKey("*****", "*****"); // The path to the documents directory. string dataDir = RunExamples.GetDataDir_Email(); // Load the message from file system MailMessage eml = MailMessage.Load(dataDir + "Message.eml"); //Get the subject of Email Console.WriteLine(eml.Subject);
The following API resources can be of help to you in getting started with Aspose.Email API.