Search code examples
c#.netopenpop

How to convert OpenPop.NET MailMessage to System.Net.Mail.MailMessage?


Is there any way to convert OpenPop.NET MailMessage to System.Net.Mail.MailMessage?


Solution

  • If you are using OpenPop.NET >=version 2, you could just call the ToMailMessage method that accompanies the Message class.