Issue #28894: Fix to_addrs refs in smtplib docs

This commit is contained in:
Raymond Hettinger 2016-08-30 13:43:53 -07:00
parent 8ca35707c0
commit 9c4ee752c0
1 changed files with 1 additions and 1 deletions

View File

@ -486,7 +486,7 @@ An :class:`SMTP` instance has the following methods:
those arguments with addresses extracted from the headers of *msg* as those arguments with addresses extracted from the headers of *msg* as
specified in :rfc:`5322`\: *from_addr* is set to the :mailheader:`Sender` specified in :rfc:`5322`\: *from_addr* is set to the :mailheader:`Sender`
field if it is present, and otherwise to the :mailheader:`From` field. field if it is present, and otherwise to the :mailheader:`From` field.
*to_adresses* combines the values (if any) of the :mailheader:`To`, *to_addrs* combines the values (if any) of the :mailheader:`To`,
:mailheader:`Cc`, and :mailheader:`Bcc` fields from *msg*. If exactly one :mailheader:`Cc`, and :mailheader:`Bcc` fields from *msg*. If exactly one
set of :mailheader:`Resent-*` headers appear in the message, the regular set of :mailheader:`Resent-*` headers appear in the message, the regular
headers are ignored and the :mailheader:`Resent-*` headers are used instead. headers are ignored and the :mailheader:`Resent-*` headers are used instead.