Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Django-allauth sends verification emails from webmaster@<servername>

How can I set custom email address to be used in "From:" section of all emails, which a sended by django-allauth to users?

By default, users receives emails from webmaster@name_of_my_ubuntu_server - it looks ugly. I want to use something like [email protected].

like image 345
Antonio Avatar asked Mar 27 '14 21:03

Antonio


1 Answers

Add the following line to your settings.py:

DEFAULT_FROM_EMAIL = "[email protected]"
like image 70
dh1tw Avatar answered Sep 22 '22 06:09

dh1tw