while running the code i have checked several time API KEYS it is correctly written bt still error messege is displying
-
Can you send a screenhot of your email_conf file? (Make sure to remove the screenshot once the issue is resolved)
-
Under try condition, Correction - int(data[‘value’])
Your BOLT API key is incorrect. Please don’t exclude ’ - ’ while typing the key yourself.
1 Like
Format of Mailgun part -
MAILGUN_API_KEY = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
SANDBOX_URL = 'sandboxXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.mailgun.org'
SENDER_EMAIL = 'test@'+'sandboxXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.mailgun.org'
RECIPIENT_EMAIL = 'XXXXXXXXXXXXXXXX@gmail.com'
Format of API Key -
API_KEY "xxxxxx-xxxx-xxxx-xxxx-xxxxxx"
DEVICE_ID "BOLTxxxxxxxx"
1 Like