Author r.david.murray
Recipients Allison.Vollmann, barry, ccgus, exarkun, giampaolo.rodola, pitrou, r.david.murray
Date 2010-11-05.22:05:44
SpamBayes Score 4.2346e-06
Marked as misclassified No
Message-id <>
New patch that takes a middle ground on the API: sendmail accepts string and bytes, and a new method send_message accepts a Message object with a more convenient signature.  I think send_message does belong in smtplib since it would be awkward and unintuitive to put the helper function in email, since one needs to create an SMTP server to call sendmail.  

I am satisfied with this version; the delta against the existing code and docs is smaller and the API feels clean.

The new patch also updates a couple of the email package examples that use sendmail to use send_message (one of the sendmail examples is left untouched).

If there are no objections I'll commit this this weekend sometime.
Date User Action Args
2010-11-05 22:05:50r.david.murraysetrecipients: + r.david.murray, barry, exarkun, pitrou, giampaolo.rodola, ccgus, Allison.Vollmann
2010-11-05 22:05:50r.david.murraysetmessageid: <>
2010-11-05 22:05:48r.david.murraylinkissue10321 messages
2010-11-05 22:05:48r.david.murraycreate