| CODENOTIFIER | HelpYou are not signed inSign in |
Project: Python
Revision: 66272
Author: andrew.kuchling
Date: 06 Sep 2008 17:26:02
Changes:#1317: describe the does_esmtp, ehlo_resp, esmtp_features, and helo_resp attributes
Files:| ... | ...@@ -178,6 +178,8 @@ | |
| 178 | 178 | |
| 179 | 179 | Identify yourself to the SMTP server using ``HELO``. The hostname argument |
| 180 | 180 | defaults to the fully qualified domain name of the local host. |
| 181 | The message returned by the server is stored as the :attr:`helo_resp` attribute | |
| 182 | of the object. | |
| 181 | 183 | |
| 182 | 184 | In normal operation it should not be necessary to call this method explicitly. |
| 183 | 185 | It will be implicitly called by the :meth:`sendmail` when necessary. |
| ... | ...@@ -187,7 +189,13 @@ | |
| 187 | 189 | |
| 188 | 190 | Identify yourself to an ESMTP server using ``EHLO``. The hostname argument |
| 189 | 191 | defaults to the fully qualified domain name of the local host. Examine the |
| 190 | response for ESMTP option and store them for use by :meth:`has_extn`. | |
| 192 | response for ESMTP option and store them for use by :meth:`has_extn`. | |
| 193 | Also sets several informational attributes: the message returned by | |
| 194 | the server is stored as the :attr:`ehlo_resp` attribute, :attr:`does_esmtp` | |
| 195 | is set to true or false depending on whether the server supports ESMTP, and | |
| 196 | :attr:`esmtp_features` will be a dictionary containing the names of the | |
| 197 | SMTP service extensions this server supports, and their | |
| 198 | parameters (if any). | |
| 191 | 199 | |
| 192 | 200 | Unless you wish to use :meth:`has_extn` before sending mail, it should not be |
| 193 | 201 | necessary to call this method explicitly. It will be implicitly called by |