Hi,

I want send emails from my django app with different from address.My
settings are

EMAIL_BACKEND = 'post_office.EmailBackend'
EMAIL_USE_TLS = True
EMAIL_HOST = 'outlook.office365.com'
EMAIL_HOST_USER = 'mym...@domain.ae'
EMAIL_HOST_PASSWORD = 'mypassword'
EMAIL_PORT = 587


DEFAULT_FROM_EMAIL = 'Marketing<mym...@domain.ae>'
SERVER_EMAIL = 'mym...@domain.ae'

DEFAULT_BCC_EMAIL = 'mym...@domain.ae'
DEFAULT_REPLY_TO_EMAIL = 'mym...@domain.ae'

I could able to send email from 'mym...@domain.ae' .But if I'm using
another from address it is going to spam mail.Is there any other way to
avoid this?
Simply, I need to set deferent from address in deferent modules.
_______________________________________________
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers

Reply via email to