Add the following line to your settings.py
:
DEFAULT_FROM_EMAIL = "info@website.com"
質問
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 info@website.com
.
解決
Add the following line to your settings.py
:
DEFAULT_FROM_EMAIL = "info@website.com"