I'm trying to send an email through python with Mailgun, but it isn't actually sending an email to me.
def send_simple_message():
return requests.post(
"https://api.mailgun.net/v3/sandbox26ec5a4187a942f6a834bb53d77d2b31.mailgun.org/messages",
auth=("api", "apikey---"),
data={"from": "Excited User <mailgun@sandbox26ec5a4187a942f6a834bb53d77d2b31.mailgun.org>",
"to": ["myemail", "myotheremail"],
"subject": "Hello",
"text": "Testing some Mailgun awesomness!"}) ```