all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#34177: smtpmail.el aborts on transient errors
@ 2019-01-23  4:09 Brian Sniffen
  2019-07-09 18:24 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 9+ messages in thread
From: Brian Sniffen @ 2019-01-23  4:09 UTC (permalink / raw)
  To: 34177

smtpmail.el treats all return codes over 400 as errors, and aborts.  But RFC 821 and successors call the 400-series “transient” errors and suggest retrying immediately.  Some mail servers, including current MS Exchange, use 400-series errors for load limiting.  The user can just repeat C-c C-c until the mail goes through... or Emacs SMTPmail could loop until the server accepts it.

Retrying is a little tricky in the case of multipart commands like LOGIN, but in general it’s safe to loop for seconds on any command.

-- 
Brian Sniffen





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-09-17 11:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-23  4:09 bug#34177: smtpmail.el aborts on transient errors Brian Sniffen
2019-07-09 18:24 ` Lars Ingebrigtsen
2019-07-09 18:45   ` Eli Zaretskii
2019-07-09 19:42     ` Lars Ingebrigtsen
2019-09-16 21:49   ` Lars Ingebrigtsen
2019-09-16 23:17     ` Brian Sniffen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2019-09-16 23:27       ` Lars Ingebrigtsen
2019-09-17  6:18         ` Eli Zaretskii
2019-09-17 11:54           ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.