~pythonregexp2.7/python/issue2636-22

« back to all changes in this revision

Viewing changes to Doc/library/smtplib.rst

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-06-09 14:36:32 UTC
  • mfrom: (39021.1.402 Regexp-2.6)
  • Revision ID: darklord@timehorse.com-20080609143632-wwwkx92u1t5l7yd3
Merged in changes from the latest python source snapshot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
   with those parameters during initialization.  An :exc:`SMTPConnectError` is
26
26
   raised if the specified host doesn't respond correctly. The optional
27
27
   *timeout* parameter specifies a timeout in seconds for blocking operations
28
 
   like the connection attempt (if not specified, or passed as None, the global
29
 
   default timeout setting will be used).
 
28
   like the connection attempt (if not specified, the global default timeout
 
29
   setting will be used).
30
30
 
31
31
   For normal use, you should only require the initialization/connect,
32
32
   :meth:`sendmail`, and :meth:`quit` methods.  An example is included below.
45
45
   and *certfile* are also optional, and can contain a PEM formatted private key
46
46
   and certificate chain file for the SSL connection. The optional *timeout*
47
47
   parameter specifies a timeout in seconds for blocking operations like the
48
 
   connection attempt (if not specified, or passed as None, the global default
49
 
   timeout setting will be used).
 
48
   connection attempt (if not specified, the global default timeout setting
 
49
   will be used).
50
50
 
51
51
   .. versionchanged:: 2.6
52
52
      *timeout* was added.