开发者

Django default_from_email name

开发者 https://www.devze.com 2023-01-16 13:54 出处:网络
I am looking to add a name to m开发者_如何学Cy default_from_email address in Django and wanted to know whether you do this through the settings.py file?

I am looking to add a name to m开发者_如何学Cy 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: noreply@mydomain.com and I would like to change this into My Domain instead.


set DEFAULT_FROM_EMAIL

DEFAULT_FROM_EMAIL = 'My Domain <noreply@mydomain.com>'
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号