Open cycomachead opened 6 years ago
I don't think the smtp lib gives any return values at all, does it?
I missed this! Mailgun gives web hooks to track the data. (https://documentation.mailgun.com/en/latest/user_manual.html#tracking-failures)
We'd need an API that maligun could post to, and then those events would be logged.
We could store if an email bounces and warn users.
We could even potentially store the last time an activation email was delivered and update users that way.
This way when users log in the messages will be more informative.