R. David Murray added the comment: This mostly looks good to me, Vinay.
Simon: did you intentionally omit the date header, and if so why? (The smtp server normally adds one, but you can't really depend on that). Adding it would look like: msg['Date'] = email.utils.localtime() (Hmm. I wonder if send_message should add Date header if there isn't one...) ---------- nosy: +vinay.sajip _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25411> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com