@@ -25,7 +25,7 @@ Protocol) and :rfc:`1869` (SMTP Service Extensions).
25
25
26
26
An :class: `SMTP ` instance encapsulates an SMTP connection. It has methods
27
27
that support a full repertoire of SMTP and ESMTP operations. If the optional
28
- host and port parameters are given, the SMTP :meth: `connect ` method is
28
+ * host * and * port * parameters are given, the SMTP :meth: `connect ` method is
29
29
called with those parameters during initialization. If specified,
30
30
*local_hostname * is used as the FQDN of the local host in the HELO/EHLO
31
31
command. Otherwise, the local hostname is found using
@@ -34,12 +34,12 @@ Protocol) and :rfc:`1869` (SMTP Service Extensions).
34
34
*timeout * parameter specifies a timeout in seconds for blocking operations
35
35
like the connection attempt (if not specified, the global default timeout
36
36
setting will be used). If the timeout expires, :exc: `TimeoutError ` is
37
- raised. The optional source_address parameter allows binding
37
+ raised. The optional * source_address * parameter allows binding
38
38
to some specific source address in a machine with multiple network
39
39
interfaces, and/or to some specific source TCP port. It takes a 2-tuple
40
- (host, port), for the socket to bind to as its source address before
41
- connecting. If omitted (or if host or port are ``'' `` and/or 0 respectively)
42
- the OS default behavior will be used.
40
+ `` (host, port) `` , for the socket to bind to as its source address before
41
+ connecting. If omitted (or if * host * or * port * are ``'' `` and/or `` 0 ``
42
+ respectively) the OS default behavior will be used.
43
43
44
44
For normal use, you should only require the initialization/connect,
45
45
:meth: `sendmail `, and :meth: `SMTP.quit ` methods.
0 commit comments