fluent-smtp icon indicating copy to clipboard operation
fluent-smtp copied to clipboard

Automatic retries when sending fails

Open felix-exon opened this issue 2 years ago • 9 comments

Would be great if one could set up automatic retries. The Plugin could then try X times to send the mail and only after that mark the mail as "not sent".

felix-exon avatar Feb 08 '23 08:02 felix-exon

I came here to ask the same question. It would be great to have a possibility to configure X retries after a sending fail.

akerd avatar Feb 13 '23 07:02 akerd

This is a must feature, The number of failed sent emails is quite high!

Krimoon avatar Jun 28 '23 17:06 Krimoon

up

jpardenoy avatar Sep 10 '23 01:09 jpardenoy

This would be super useful as I temporarily receive errors like this from my email server:

{
  "code": 422,
  "message": "SMTP Error: Could not authenticate.",
  "errors": [
    "SMTP Error: Could not authenticate."
  ]
}

A simple "send" then sends the mail without any issues, so a simple retry after x seconds would be a huge relief!

felix-exon avatar Jan 10 '24 10:01 felix-exon

Upvote this, I have the same Issue as @felix-exon

Danmyrer avatar Jan 11 '24 22:01 Danmyrer

Up! Because this issue isnt fixed yet with o365

Server Response

{ "code": 422, "message": "Unauthorized", "errors": [ "Unauthorized" ] }

RPWouters avatar Apr 01 '24 11:04 RPWouters

Yeah experience the same issue can some one please makes it possible that Fluentsmtp setting allows resend x time on failure

coenquant avatar Jul 26 '24 12:07 coenquant

This would be an amazing feature as I get AWS throttle failures +1

r14ull avatar Aug 21 '24 09:08 r14ull

Issue that was causing 422 for us seemed to happen only non-English versions of our website. I suspect WPML plugin interferes with the callback URLs generated by FluentSMTP. I added to Azure all possible URLs with possible language paths added by WPML and this seemed to resolve the issue.

E.g., when your standard callback url is https://mydomain.com/fluent-smtp/outlook_callback make sure to add https://mydomain.com/en/fluent-smtp/outlook_callback , https://mydomain.com/de/fluent-smtp/outlook_callback and so on, for all possible language paths you have available to Azure's allowed callback URLs.

dkiryakov avatar Mar 31 '25 19:03 dkiryakov