markup email add Date header
This commit is contained in:
@ -66,6 +66,7 @@ def send(frm, subj, msg):
|
||||
msg['Subject'] = Header(subj).encode()
|
||||
|
||||
msg['Message-ID'] = msgid()
|
||||
msg['Date'] = formatdate()
|
||||
|
||||
maildir = Maildir('/tmp/markup_submit_mail')
|
||||
maildir.add(msg.as_bytes())
|
||||
|
||||
Reference in New Issue
Block a user