I want to send an email to users with different from field values using smtp gmail server from the django app. I am able to send the mail successfully to users but the from field does not take the value that I provide in send_mail() but instead takes the EMAIL_HOST_USER value defined in settings.py
From field value should take any domain email address i.e.
a mail from: xyz@yahoo.co.in or .com
or from: abc@hotmail.com
or so on
How can I achieve this behavior? Please help. I am new to using django and email functionality.