Django default_from_email name

ApPeL picture ApPeL · Sep 19, 2010 · Viewed 11.6k times · Source

I am looking to add a name to my default_from_email address in Django and wanted to know whether you do this through the settings.py file?

you have your different options.

DEFAULT_FROM_EMAIL
EMAIL_HOST
EMAIL_PASSWORD
...

but the email result still ends in from: [email protected] and I would like to change this into My Domain instead.

Answer

Ashok picture Ashok · Sep 19, 2010

set

DEFAULT_FROM_EMAIL = 'My Domain <[email protected]>'