Patch for smtp servers that require the Date in the header
|Reported by:||anonymous||Owned by:||ixokai|
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 237
rootMessage['Date'] = formatdate()