This message was posted using Page2Forum from MailMessage Class - Aspose.Network for .NET
Thank you for inquiry.
I am sorry, there is no such method or utility for this kind of conversion. Most of the constructors, methods and properties of Microsoft’s and Aspose’s MailMessage are identical. Could you please try to remove the System.Net.Mail and add Aspose.Network.Mail and update code to fix any errors?
Below is an example of basic usage of both Microsoft and Aspose’s MailMessage. I just updated the namespace in class names and both examples compiled and worked successfully.
In this case, you may write your own utility class/method that copies all properties from System.Net’s MailMessage to Aspose.Network’s MailMessage.