Variable: smtpmail-retries
smtpmail-retries is a customizable variable defined in smtpmail.el.gz.
Value
10
Documentation
The number of times smtpmail will retry sending when getting transient errors.
These are errors with a code of 4xx from the SMTP server, which mean "try again".
This variable was added, or its default value changed, in Emacs 27.1.
Probably introduced at or before Emacs version 27.1.
Source Code
;; Defined in /usr/src/emacs/lisp/mail/smtpmail.el.gz
(defcustom smtpmail-retries 10
"The number of times smtpmail will retry sending when getting transient errors.
These are errors with a code of 4xx from the SMTP server, which
mean \"try again\"."
:type 'natnum
:version "27.1")