marrow / mailer

A light-weight, modular, message representation and mail delivery framework for Python.
MIT License
276 stars 62 forks source link

Bounce backs #82

Closed kodeine closed 4 years ago

kodeine commented 5 years ago

Is there a way to track bounced emails?

amcgregor commented 5 years ago

Tracking e-mail deliverability is a deep issue. For a start to the rabbit-hole, see Email tracking on Wikipedia (esp: Return receipt). There are APIs available with the "big providers" (think: Hotmail, Yahoo! Mail, etc.) that other "big providers" have access to in order to get more fine-grained notifications.

As such, (and since I long ago learned to avoid handling e-mail concerns myself), I use Rackspace Mailgun as both an initial MTA ("mail transfer agent", the server accepting e-mail sent from my apps), but also as a means to get API callback notifications on events (bounces, i.e. to mark accounts as unverified automatically), and to handle inbound e-mail programmatically (think: replying to a GitHub issue update notice).

An SMTP DSN would require modification to the SMTP transport.

amcgregor commented 4 years ago

Closing due to inactivity as answered.