title: System.Net.Mail.MailMessage Load from a String
body: <p>I'm implementing an email sending logic. Here is what I'm planing to do.</p>
  
  <p>Whenever system wants to send a email construct the MailMessage object (with all the details) and save that object in database (as string) instead of sending at the same time. From a background process those saved emails will be picked up and processed. </p>
  
  <p>String will be taken from MailMessge.ToString() method.</p>
  
  <p>Now my issue is, I can't see a way to get MailMessage object back from the saved string. I'm not sure whether this is supported by MailMessage class. </p>
  
  <p>My second option is save the raw data in the queued table (to, subject, body etc) and construct the MailMessage object at the time of sending. I would prefer the first option due to it looks much neater. </p>
  
  <p>If someone know how to achieve this, please let me know. </p>
  
  <p>Thanks in advance,
  Wijitha</p>