In this video we will cover a step by step tutorial on how to Send Emails with Node.js Application Using Nodemailer and Twilio Sendgrid.

Nodemailer is a module that can be used by Node.js applications to allow easy email sending. This project was started in 2010 when there were not many options available to send email messages, today it is the solution most Node.js users turn to by default.

SendGrid by Twilio is an Email Delivery Service which is very reliable and there API is really easy to work with.


Nodemailer Official Docs: https://nodemailer.com/about/
SendGrid Official Docs: https://sendgrid.com/docs/

Chapters:

  • 0:00 Intro
  • 0:12 Use cases
  • 0:41 Visiting Nodemailer Doc
  • 1:42 SendGrid Account Creation
  • 3:02 Installing Packages
  • 3:46 Why Use Third Party Services
  • 4:40 Code to Send Emails
  • 6:25 Create SendGrid API Key
  • 6:55 Setting Access Permissions
  • 7:33 Connect to SendGrid API using the Key
  • 7:53 Create and Send the Email
  • 10:32 Test the code
  • 11:16 Promise Handling
  • 11:39 Test the code again
  • 12:06 Limitation for Large Scale Apps
  • 12:41 Summary
  • 12:52 Outro

#node #javascript #web-development #developer

How to Send Emails with Node.js Using Nodemailer and Twilio Sendgrid
3.70 GEEK