Everest1508 / flask-email

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API Reference

Send a POST request to https://sendmail.pythonanywhere.com/send_mail with the following JSON payload:

{
  "recipient": "recipient@example.com",
  "subject": "Drowsiness Alert",
  "body": "Alert message here..."
}

Replace "recipient@example.com" with the recipient's email address and "Alert message here..." with the desired alert message.

About


Languages

Language:Python 100.0%