Open joyouscob opened 2 years ago
I am new raising issues, dont know if this is the appropriate way. I have django post office setup and working fine and decided to use mailjet backend, from the documentation, i saw:
POST_OFFICE = { 'BACKENDS': { 'default': 'anymail.backends.mailjet.EmailBackend', } }
They work independently, but when i use them together (using mailjet as default post office backend), the emails are not delivered.
EMAIL_BACKEND = 'post_office.EmailBackend' EMAIL_HOST = 'in-v3.mailjet.com' EMAIL_HOST_USER = os.environ.get('EMAIL_HOST_USER') EMAIL_HOST_PASSWORD = os.environ.get('EMAIL_HOST_PASSWORD') EMAIL_USE_TLS = True EMAIL_PORT = 587 DEFAULT_FROM_EMAIL = 'default@email.com' POST_OFFICE = { 'BACKENDS': { 'default': 'anymail.backends.mailjet.EmailBackend', } } ANYMAIL = { "MAILJET_API_KEY": "key", "MAILJET_SECRET_KEY": "secret", }
Please help
did you manage to make it work? @joyouscob
I am new raising issues, dont know if this is the appropriate way. I have django post office setup and working fine and decided to use mailjet backend, from the documentation, i saw:
POST_OFFICE = { 'BACKENDS': { 'default': 'anymail.backends.mailjet.EmailBackend', } }
They work independently, but when i use them together (using mailjet as default post office backend), the emails are not delivered.
EMAIL_BACKEND = 'post_office.EmailBackend' EMAIL_HOST = 'in-v3.mailjet.com' EMAIL_HOST_USER = os.environ.get('EMAIL_HOST_USER') EMAIL_HOST_PASSWORD = os.environ.get('EMAIL_HOST_PASSWORD') EMAIL_USE_TLS = True EMAIL_PORT = 587 DEFAULT_FROM_EMAIL = 'default@email.com' POST_OFFICE = { 'BACKENDS': { 'default': 'anymail.backends.mailjet.EmailBackend', } } ANYMAIL = { "MAILJET_API_KEY": "key", "MAILJET_SECRET_KEY": "secret", }
Please help