title: retrieve $MessageID from phpmailer
body: <p>I have just set up phpmailer, and i want to store messages in a log table on send.</p>
  
  <p>phpmailer creates a messageid automatically, how can i retrieve $MessageID it so i can store it in my table ?</p>
  
  <p>i don't need to set it, but i tried this...</p>
  
  <pre><code>$MID = time() .'-' . md5('xxx@gmail.com' . 'yyy@gmail.com') . '@domain.com';
  $mail-&gt;MessageID = $MID;
  </code></pre>
  
  <p>and the header on the sent email is different</p>
  
  <p>would be happy just to retrieve the default one</p>