[BangPypers] Technical Doubt

Saalim Ali saalim at sprdh.com
Mon Jun 25 02:33:19 EDT 2018


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 = 'mymail at domain.ae'
EMAIL_HOST_PASSWORD = 'mypassword'
EMAIL_PORT = 587


DEFAULT_FROM_EMAIL = 'Marketing<mymail at domain.ae>'
SERVER_EMAIL = 'mymail at domain.ae'

DEFAULT_BCC_EMAIL = 'mymail at domain.ae'
DEFAULT_REPLY_TO_EMAIL = 'mymail at domain.ae'

I could able to send email from 'mymail at 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.


More information about the BangPypers mailing list