scanner / as_email_service

A Django app and smtp relay service for working with 3rd party email services and asimap
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Retry multiple times on failure to send email through provider (postmark) #55

Open scanner opened 11 months ago

scanner commented 11 months ago

Currently if we fail to send email via postmark due to a failure talking to postmark we will try once, and then fail.

We expect postmark outages to be short and misconfigurations that would cause these errors to be caught quickly.

However, if they are not we should retry more than once before giving up.

Also with a variable back-off for up to three days (1 hour, 4 hours, 8, 12, and then once a day until three days passes)