Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Django Post Office Default Backend with Mailjet #396

Open
joyouscob opened this issue Mar 31, 2022 · 1 comment
Open

Django Post Office Default Backend with Mailjet #396

joyouscob opened this issue Mar 31, 2022 · 1 comment

Comments

@joyouscob
Copy link

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 = '[email protected]' POST_OFFICE = { 'BACKENDS': { 'default': 'anymail.backends.mailjet.EmailBackend', } } ANYMAIL = { "MAILJET_API_KEY": "key", "MAILJET_SECRET_KEY": "secret", }

Please help

@domdinicola
Copy link
Contributor

did you manage to make it work? @joyouscob

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants