-
Notifications
You must be signed in to change notification settings - Fork 139
Closed
Labels
Description
- 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.