@@ -335,13 +335,13 @@ msgid ""
335335"In normal operation it should not be necessary to call this method "
336336"explicitly. It is used to implement other methods and may be useful for "
337337"testing private extensions."
338- msgstr ""
338+ msgstr "在正常操作中,应该没有必要明确地调用这个方法。它被用来实现其他方法,对于测试私有扩展可能很有用。 "
339339
340340#: ../../library/smtplib.rst:247
341341msgid ""
342342"If the connection to the server is lost while waiting for the reply, "
343343":exc:`SMTPServerDisconnected` will be raised."
344- msgstr ""
344+ msgstr "如果在等待回复的过程中,与服务器的连接丢失, :exc:`SMTPServerDisconnected` 将被触发。 "
345345
346346#: ../../library/smtplib.rst:253
347347msgid ""
@@ -362,6 +362,8 @@ msgid ""
362362"Raises an :ref:`auditing event <auditing>` ``smtplib.connect`` with "
363363"arguments ``self``, ``host``, ``port``."
364364msgstr ""
365+ "触发一个 :ref:`auditing event <auditing>` ``smtplib.connect``,其参数为 ``self`` , "
366+ "``host`` , ``port`` 。"
365367
366368#: ../../library/smtplib.rst:266
367369msgid ""
@@ -370,13 +372,15 @@ msgid ""
370372"returned by the server is stored as the :attr:`helo_resp` attribute of the "
371373"object."
372374msgstr ""
375+ "使用 ``HELO`` 向 SMTP 服务器表明自己的身份。 hostname 参数默认为本地主机的完全合格域名。服务器返回的消息被存储为对象的 "
376+ ":attr:`helo_resp` 属性。"
373377
374378#: ../../library/smtplib.rst:271
375379msgid ""
376380"In normal operation it should not be necessary to call this method "
377381"explicitly. It will be implicitly called by the :meth:`sendmail` when "
378382"necessary."
379- msgstr ""
383+ msgstr "在正常操作中,应该没有必要明确调用这个方法。它将在必要时被 :meth:`sendmail` 隐式调用。 "
380384
381385#: ../../library/smtplib.rst:277
382386msgid ""
@@ -400,29 +404,34 @@ msgid ""
400404"be necessary to call this method explicitly. It will be implicitly called "
401405"by :meth:`sendmail` when necessary."
402406msgstr ""
407+ "除非你想在发送邮件前使用 :meth:`has_extn` ,否则应该没有必要明确调用这个方法。 它将在必要时被 :meth:`sendmail` "
408+ "隐式调用。"
403409
404410#: ../../library/smtplib.rst:292
405411msgid ""
406412"This method calls :meth:`ehlo` and/or :meth:`helo` if there has been no "
407413"previous ``EHLO`` or ``HELO`` command this session. It tries ESMTP ``EHLO``"
408414" first."
409415msgstr ""
416+ "如果这个会话中没有先前的 ``EHLO`` 或 ``HELO`` 命令,该方法会调用 :meth:`ehlo` 和/或 :meth:`helo` "
417+ "。它首先尝试 ESMTP ``EHLO`` 。"
410418
411419#: ../../library/smtplib.rst:296 ../../library/smtplib.rst:326
412420#: ../../library/smtplib.rst:418 ../../library/smtplib.rst:487
413421msgid ":exc:`SMTPHeloError`"
414- msgstr ""
422+ msgstr ":exc:`SMTPHeloError` "
415423
416424#: ../../library/smtplib.rst:297 ../../library/smtplib.rst:326
417425#: ../../library/smtplib.rst:418 ../../library/smtplib.rst:487
418426msgid "The server didn't reply properly to the ``HELO`` greeting."
419- msgstr ""
427+ msgstr "服务器没有正确回复 ``HELO`` 问候。 "
420428
421429#: ../../library/smtplib.rst:301
422430msgid ""
423431"Return :const:`True` if *name* is in the set of SMTP service extensions "
424432"returned by the server, :const:`False` otherwise. Case is ignored."
425433msgstr ""
434+ "如果 *name* 在服务器返回的 SMTP 服务扩展集合中,返回 :const:`True` ,否则为 :const:`False` 。大小写被忽略。"
426435
427436#: ../../library/smtplib.rst:307
428437msgid ""
0 commit comments