I want to make an email sender app that took user email and password and send an email to multiple recipients. I am not sure whether it is possible to do because we have to provide Email_HOST_USER in settings. If anyone can help me with explanation please?
Asked
Active
Viewed 456 times
1 Answers
0
The EMAIL_HOST_USER
setting is just a default value.
See the docs for send_mail, it accepts an auth_user
argument:
auth_user: The optional username to use to authenticate to the SMTP server. If this isn’t provided, Django will use the value of the EMAIL_HOST_USER setting.
Same goes for auth_password
.

Le Minaw
- 835
- 7
- 17
-
Thanks a lot, @Le Minaw – saba Jan 29 '21 at 21:44
-
No problem. It's good practise to [mark your question an answered](https://stackoverflow.com/help/someone-answers). – Le Minaw Jan 29 '21 at 22:40