0

I've found this pretty way (Elegant way to serialize a MailMessage object in .NET) to serialize a MailMessage to a EML-String. But now I also need the way backwards - I want to deserialize the EML-String to a MailMessage.

I've already tried a view things but have not found the solution yet. Can someone help me please?

Thank You!

Regards Matthias

Community
  • 1
  • 1
Matthias Wirth
  • 227
  • 3
  • 12

1 Answers1

0

The best option is to use a library such as my MimeKit library which can parse any MIME formatted stream or file.

jstedfast
  • 35,744
  • 5
  • 97
  • 110