soorria / vercel-serverless-email

Vercel serverless functions to send emails with a post request.

Home Page:https://vercel-mail.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Serverless Email function

Required Environment Variables

  • TO_EMAIL: The email address that receives the emails.
  • FROM_EMAIL: The email address that sends the emails. Must be approved on SendGrid.
  • SENDGRID_KEY: Your SendGrid API key.

Request Body

  • "subject": the email's subject
  • "text": the email's text body
  • "html": the email's html body

About

Vercel serverless functions to send emails with a post request.

https://vercel-mail.vercel.app

License:MIT License


Languages

Language:TypeScript 100.0%