[ python-Bugs-1217513 ] Omission in docs for smtplib.SMTP.sendmail()
SourceForge.net
noreply at sourceforge.net
Mon Feb 20 14:12:59 CET 2006
Bugs item #1217513, was opened at 2005-06-09 12:32
Message generated for change (Settings changed) made by gbrandl
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1217513&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: Python 2.4
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Kent Johnson (kjohnson)
>Assigned to: Georg Brandl (gbrandl)
Summary: Omission in docs for smtplib.SMTP.sendmail()
Initial Comment:
In Library Reference 11.12.1 SMTP Objects, the
description of the to_addrs parameter to
SMTP.sendmail() is, "a list of RFC 822 to-address strings".
In fact sendmail() also allows a single string to be
passed as to_addrs. The comment in smtplib.py says,
"to_addrs: A list of addresses to send this mail to. A
barestring will be treated as a list with 1 address."
I suggest the Library Reference be changed to say, "a
list of RFC 822 to-address strings or a single
to-address string"
----------------------------------------------------------------------
Comment By: Georg Brandl (birkenfeld)
Date: 2005-06-25 18:25
Message:
Logged In: YES
user_id=1188172
Fixed by accepting patch #1227442.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1217513&group_id=5470
More information about the Python-bugs-list
mailing list