Mailgun Magnificent API

I tried to run the the code for sending email via mailgun on my ubuntu terminal but it’s showing the error of magnificent api and i could not receive the email


Hi @setikaraj

Do check if the credentials are correct.

Try adding /messages to the URL in the conf file.
I hope it helps.

:blush:

1 Like

@setikaraj
hi ,
You must check your sandboxURL
and senderEmail in email_conf
It must be like this
SANDBOX_URL=‘sandbox**********.mailgun.org’
SENDER_EMAIL=‘test@’+SANDBOX_URL
You will find the sandbox url in dashbord of mailgun.
Please inform if found helpful
Thank you

2 Likes

If you feel like your credentials are correct, then send a screenshot of your email_conf file. (Hide last few digits of the API key(both bolt and mailgun) and sandbox URL.

1 Like

Thankyou, I did something wrong with the credentials and now it did work… And I am getting the response object but the message shown is “message is queued” and did not send me any email. So what should I do now?

Check your Spam/Junk folder of your mail.

1 Like

Thanks a lot for helping! I did recieve the mail.

2 Likes