Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Django default_from_email name

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.

like image 592
ApPeL Avatar asked Sep 19 '10 05:09

ApPeL


People also ask

What is Django default email?

Django ships with several email sending backends. With the exception of the SMTP backend (which is the default), these backends are only useful during testing and development. If you have special email sending requirements, you can write your own email backend.

How do I send an email to multiple recipients in Django?

How to send multiple mass emails django. We need to create a Tuple of messages and send them using send mass mail. In this tutorial, we create a project which sends email using Django. We fill the data in the form and send it using Django Email.


1 Answers

set

DEFAULT_FROM_EMAIL = 'My Domain <[email protected]>' 
like image 170
Ashok Avatar answered Sep 30 '22 17:09

Ashok