Learn how to programmatically send emails from Serverless functions with SendGrid and Next.js.

🧐 What’s Inside

  • 00:00 Intro to sending emails with SendGrid and Next.js Serverless Functions
  • 00:10 Tools we’re using like SendGrid and Next.js API Routes
  • 00:49 Creating a new Next.js app with Create Next App
  • 01:26 Setting up and styling a basic contact form with React in Next.js
  • 03:21 Capturing form submissions events and data in React with onSubmit
  • 05:56 Adding a new Next.js API route to POST contact form data to
  • 08:42 Configuring custom domain authentication in SendGrid
  • 10:26 Installing CNAME DNS records for SendGrid in Google Domains
  • 12:19 Creating a SendGrid API key and adding it as a Next.js environment variable
  • 13:59 Installing SendGrid mail SDK to programmatically send emails
  • 17:43 Outro

🗒️ Read More
https://spacejelly.dev/posts/how-to-send-emails-with-sendgrid-and-next-js-serverless-functions-for-a-contact-form/

#serverless #next #sendgrid

Send Emails with SendGrid & Next.js Serverless Functions - Contact Form Tutorial
12.15 GEEK