diff options
| author | Lars Ingebrigtsen | 2019-09-17 01:26:43 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-09-17 01:26:43 +0200 |
| commit | 3a6b5e6ad0173dfe164640e8a09bf465f78836cb (patch) | |
| tree | 457442f4cb840d7c556e68246d29ce8529775246 /doc/misc | |
| parent | 90ddad804a34b70af7d849f1fdd1f069a3c30f54 (diff) | |
| download | emacs-3a6b5e6ad0173dfe164640e8a09bf465f78836cb.tar.gz emacs-3a6b5e6ad0173dfe164640e8a09bf465f78836cb.zip | |
Add a new variable smtpmail-retries
* doc/misc/smtpmail.texi (Server workarounds): Mention it (bug#34177).
* lisp/mail/smtpmail.el (smtpmail-retries): New variable.
(smtpmail-via-smtp): Use it.
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/smtpmail.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/misc/smtpmail.texi b/doc/misc/smtpmail.texi index b2fc90a337a..7fa7b24e162 100644 --- a/doc/misc/smtpmail.texi +++ b/doc/misc/smtpmail.texi | |||
| @@ -372,6 +372,13 @@ implement support for common requirements. | |||
| 372 | 372 | ||
| 373 | @table @code | 373 | @table @code |
| 374 | 374 | ||
| 375 | @item smtpmail-retries | ||
| 376 | @vindex smtpmail-retries | ||
| 377 | An SMTP server may return an error code saying that there's a | ||
| 378 | transient error (a @samp{4xx} code). In that case, smtpmail will try | ||
| 379 | to resend the message automatically, and the number of times it tries | ||
| 380 | before giving up is determined by this variable, which defaults to 10. | ||
| 381 | |||
| 375 | @item smtpmail-local-domain | 382 | @item smtpmail-local-domain |
| 376 | @vindex smtpmail-local-domain | 383 | @vindex smtpmail-local-domain |
| 377 | The variable @code{smtpmail-local-domain} controls the hostname sent | 384 | The variable @code{smtpmail-local-domain} controls the hostname sent |