Usage

Usage

All what you need is to send a post request to the following endpoint with the following properties:

  • to: The email address you want to send the email to.
  • subject: The subject for the email being sent.
  • message: The message included within the email.
example.js
fetch("https://sendmail-api-docs.vercel.app/api/send", {
        method: "POST",
        body: JSON.stringify({
            to: "sendmail0api@gmail.com",
            subject: "Trying SendMail",
            message: "Hello, you have received a new message!",
        })
    })
    .then(res => res.json())
    .then(data => console.log(data))

Note: This API is publicly accessible and utilized by numerous users. If you require a tailored solution for your specific application, kindly reach out to us at ahmed0saber33@gmail.com.