pallets-eco / flask-security

Quick and simple security for Flask applications
MIT License
1.63k stars 513 forks source link

Completely disable mailing system? #865

Open kmod-midori opened 3 years ago

kmod-midori commented 3 years ago

I'm working on an internal system without access to any mailing services (and we don't really need any), is there any way to say that I don't need them? Currently registeration always leads to a crash.

jwag956 commented 3 years ago

you should be able to set:

MAIL_SUPPRESS_SEND = True