This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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.2346046e-06
Marked as misclassified No
Message-id <1288994750.64.0.927161504573.issue10321@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
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: <1288994750.64.0.927161504573.issue10321@psf.upfronthosting.co.za>
2010-11-05 22:05:48r.david.murraylinkissue10321 messages
2010-11-05 22:05:48r.david.murraycreate