Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 33be448

Browse files
[po] auto sync
1 parent 57f0862 commit 33be448

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

library/smtplib.po

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,8 @@ msgid ""
704704
" the same meaning as for :meth:`sendmail`, except that *msg* is a "
705705
"``Message`` object."
706706
msgstr ""
707+
"本方法是一种快捷方法,用于带着消息调用 :meth:`sendmail`,消息由 :class:`email.message.Message` "
708+
"对象表示。参数的含义与 :meth:`sendmail` 中的相同,除了 *msg*,它是一个 ``Message`` 对象。"
707709

708710
#: ../../library/smtplib.rst:519
709711
msgid ""
@@ -719,6 +721,13 @@ msgid ""
719721
"headers, a :exc:`ValueError` is raised, since there is no way to "
720722
"unambiguously detect the most recent set of :mailheader:`Resent-` headers."
721723
msgstr ""
724+
"如果 *from_addr* 为 ``None`` 或 *to_addrs* 为 ``None``,那么``send_message``将根据 "
725+
":rfc:`5322`,从 *msg* 头部提取地址填充下列参数:如果头部存在 :mailheader:`Sender` 字段,则用它填充 "
726+
"*from_addr*,不存在则用 :mailheader:`From` 字段填充 *from_addr*。*to_addrs* 组合了 *msg* "
727+
"中的 :mailheader:`To`, :mailheader:`Cc` 和 :mailheader:`Bcc` "
728+
"字段的值(字段存在的情况下)。如果一组 :mailheader:`Resent-*` 头部恰好出现在 message 中,那么就忽略常规的头部,改用 "
729+
":mailheader:`Resent-*` 头部。如果 message 包含多组 :mailheader:`Resent-*` 头部,则引发 "
730+
":exc:`ValueError`,因为无法明确检测出哪一组 :mailheader:`Resent-` 头部是最新的。"
722731

723732
#: ../../library/smtplib.rst:531
724733
msgid ""

0 commit comments

Comments
 (0)