@@ -27,8 +27,9 @@ Protocol) and :rfc:`1869` (SMTP Service Extensions).
27
27
that support a full repertoire of SMTP and ESMTP operations.
28
28
If *host * is omitted or set to an empty string, no connection is made during initialization; you must
29
29
call :meth: `connect ` manually before using the instance.
30
- If *port * is zero,the value of the :attr: `default_port ` attribute is used. If specified,
31
- *local_hostname * is used as the FQDN of the local host in the HELO/EHLO
30
+ If *port * is zero,the value of the :attr: `default_port ` attribute is used.
31
+
32
+ If specified, *local_hostname * is used as the FQDN of the local host in the HELO/EHLO
32
33
command. Otherwise, the local hostname is found using
33
34
:func: `socket.getfqdn `. If the :meth: `connect ` call returns anything other
34
35
than a success code, an :exc: `SMTPConnectError ` is raised. The optional
@@ -86,8 +87,9 @@ Protocol) and :rfc:`1869` (SMTP Service Extensions).
86
87
SMTP_SSL :meth: `connect ` method is called with those parameters during initialization.
87
88
If *host * is omitted or an empty string, no connection is made during initialization;
88
89
you must call :meth: `connect ` manually before using the instance. If
89
- *port * is zero, the standard SMTP-over-SSL port (465) is used. The optional
90
- arguments *local_hostname *, *timeout * and *source_address * have the same
90
+ *port * is zero, the standard SMTP-over-SSL port (465) is used.
91
+
92
+ The optional arguments *local_hostname *, *timeout * and *source_address * have the same
91
93
meaning as they do in the :class: `SMTP ` class. *context *, also optional,
92
94
can contain a :class: `~ssl.SSLContext ` and allows configuring various
93
95
aspects of the secure connection. Please read :ref: `ssl-security ` for
0 commit comments