Benjamin Renard commited on 2015-07-30 09:04:44
Showing 1 changed files, with 1 additions and 0 deletions.
... | ... |
@@ -192,6 +192,7 @@ msg['From'] = email.utils.formataddr(('Author', options.author)) |
192 | 192 |
logging.info("From : %s" % options.author) |
193 | 193 |
msg['Subject'] = options.subject |
194 | 194 |
logging.info("Subject : %s" % options.subject) |
195 |
+msg['Date'] = email.utils.formatdate(None,True) |
|
195 | 196 |
|
196 | 197 |
|
197 | 198 |
msg.attach( MIMEText(options.content) ) |
198 | 199 |