For some reason i'm receiving a 200 status code on my MailGun Request but i'm not receiving any email. i checked the documentation multiple times and tried it multiple times but im still not receiving any mail. Please i'll appreciate assistance. Below is my code:
import requests
API_KEY = "*************************************************"
YOUR_DOMAIN_NAME= "https://api.mailgun.net/v3/sandbox*****************************.mailgun.org"
def send_simple_message():
return requests.post(
f"https://api.mailgun.net/v3/https://api.mailgun.net/v3/{YOUR_DOMAIN_NAME}/messages",
auth=("api", API_KEY),
data={"from": f"Excited User <mailgun@{YOUR_DOMAIN_NAME}",
"to": ["**************************@outlook.com"],
"subject": "Hello",
"text": "Testing some Mailgun awesomness!"})
Thank you