Patch for smtp servers that require the Date in the header
|Reported by:||anonymous||Owned by:||Stephen Hansen|
My server was rejecting the email due to the header was missing the date.
following def _do_send(...) - currently line 218 added line:from email.Utils import formatdate
following rootMessage['Auto-Submitted'] = 'auto-generated' - currently line 237rootMessage['Date'] = formatdate()