You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, how would I override Flask-User's use of Flask-Mail to send emails and replace it with a custom module. I need to use Postmark's REST API and not it's SMTP offering.
I'm thinking I could use signals to hook into events such as user_changed.password etc and send an email to the user based on that. But how do I switch off Flask-User's use of Flask-Mail?
The text was updated successfully, but these errors were encountered:
What if you set MAIL_SERVER to not.a.real.hostname? I understand that this isn't optimal. You could at least speed up the time to failure by adding an appropriate entry to /etc/hosts so you skip the needless DNS lookup.
Hi, how would I override Flask-User's use of Flask-Mail to send emails and replace it with a custom module. I need to use Postmark's REST API and not it's SMTP offering.
I'm thinking I could use signals to hook into events such as
user_changed.password
etc and send an email to the user based on that. But how do I switch off Flask-User's use of Flask-Mail?The text was updated successfully, but these errors were encountered: