File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -431,9 +431,11 @@ An :class:`SMTP` instance has the following methods:
431
431
Send mail. The required arguments are an :rfc: `822 ` from-address string, a list
432
432
of :rfc: `822 ` to-address strings (a bare string will be treated as a list with 1
433
433
address), and a message string. The caller may pass a list of ESMTP options
434
- (such as ``8bitmime ``) to be used in ``MAIL FROM `` commands as *mail_options *.
434
+ (such as ``" 8bitmime" ``) to be used in ``MAIL FROM `` commands as *mail_options *.
435
435
ESMTP options (such as ``DSN `` commands) that should be used with all ``RCPT ``
436
- commands can be passed as *rcpt_options *. (If you need to use different ESMTP
436
+ commands can be passed as *rcpt_options *. Each option should be passed as a string
437
+ containing the full text of the option, including any potential key
438
+ (for instance, ``"NOTIFY=SUCCESS,FAILURE" ``). (If you need to use different ESMTP
437
439
options to different recipients you have to use the low-level methods such as
438
440
:meth: `mail `, :meth: `rcpt ` and :meth: `data ` to send the message.)
439
441
You can’t perform that action at this time.
0 commit comments