Forums

Using Flask mail

Do I need a paid account to use SMTP settings? If so, which plan would I need?

Thanks in advance.

You can use Google's Gmail SMTP servers from a free plan -- see this help page. From any paid plan, you can use any SMTP server you want. It's worth noting that we don't provide an STMP server, though -- you have to use an external one.

I can't access flask-mail even though i've installed it using pip, it uses a gmail smpt server but still can't access plz help

What errors are you getting?

Hi there, I can't get Flask Mail to work either.

Error running WSGI application
2021-07-06 17:20:44,617: ModuleNotFoundError: No module named 'flask_mail'  
2021-07-06 17:20:44,617:   File "/var/www/fuzeprototype_pythonanywhere_com_wsgi.py", line 16, in <module>

The error says you're code can't find the module flask_mail -- make sure that you installed it for the same Python version / environment that your web app is running.