snap-cloud / snapCloud

Official cloud backend and community site for the Snap! programming language
https://snap.berkeley.edu/
GNU General Public License v3.0
52 stars 28 forks source link

Store when emails are undeliverable. #35

Open cycomachead opened 6 years ago

cycomachead commented 6 years ago

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.

bromagosa commented 6 years ago

I don't think the smtp lib gives any return values at all, does it?

cycomachead commented 6 years ago

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.