Skip to content

mailjet configuration error #71

@BlueRui

Description

@BlueRui
  • Anymail version: v.10
  • ESP (Mailgun, SendGrid, etc.): MailJet

I added the following with valid key in settings.py, but still got the error stating it is not set. I have no problem using MailGun.
ANYMAIL = {
"MAILJET_API_KEY": "",
"MAILJET_API_SECRET": "",
}

Exception Type: AnymailConfigurationError
Exception Value: You must set ANYMAIL_MAILJET_SECRET_KEY or ANYMAIL = {'MAILJET_SECRET_KEY': ...} or MAILJET_SECRET_KEY in your Django settings

SOLUTION:
It should be "MAILJET_SECRET_KEY" instead of "MAILJET_API_SECRET".
The doc gives "MAILJET_API_SECRET" which should be corrected.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions