~pythonregexp2.7/python/issue2636-09-01+10

« back to all changes in this revision

Viewing changes to Doc/library/smtplib.rst

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-09-22 21:39:45 UTC
  • mfrom: (39055.1.33 Regexp-2.7)
  • Revision ID: darklord@timehorse.com-20080922213945-23717m5eiqpamcyn
Merged in changes from the Single-Loop Engine branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
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