Commit 9c4ee752 authored by Raymond Hettinger's avatar Raymond Hettinger

Issue #28894: Fix to_addrs refs in smtplib docs

parent 8ca35707
...@@ -486,7 +486,7 @@ An :class:`SMTP` instance has the following methods: ...@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment