Antonio
Antonio

Reputation: 832

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].

Upvotes: 9

Views: 1702

Answers (1)

dh1tw
dh1tw

Reputation: 1491

Add the following line to your settings.py:

DEFAULT_FROM_EMAIL = "[email protected]"

Upvotes: 20

Related Questions