Home / Videos / Sending confirmation emails using Nodemailer and SendGrid…

Sending confirmation emails using Nodemailer and SendGrid…



Learn how to create a confirmation link and then send it to the registered user using nodemailer and send grid email service.

Before that we use the dotenv package to move our secret keys from our codebase to our environment file.

We also update our schema.graphql file to remove the password field in our user type since it serves no purpose the apollo client will not be needing it.

I make a few mistakes in the lesson. One is that I am not passing the registered user from the signup reducer. The user object doesn’t contain the id that we are using to create the token.
Will fix these in the next lesson.

Also the user id was not received in the apollo client that is because I am not sending it from the signup reducer will fix that as well in the graphql lesson.

Subscribe to the channel it motivates me to keep on making tutorials

Give it thumbs up if you liked too

Link to sendgrid – https://sendgrid.com/
Part one of registering users – https://youtu.be/cPDQTzOuP_I

Become a patron – https://www.patreon.com/doingiteasychannel
Follow me on Twitter https://twitter.com/Uthpala_419

#ApolloServer #Nodemailer #SendGrid

source


About admin

Check Also

1618010868_maxresdefault.jpg

How to send 10,000 emails | Free Mass Emailing Service…

Create free SMTP account here: https://TEARcloud.com Work with us: https://Enzlo.com In this tutorial I’m going ...

Leave a Reply

Your email address will not be published. Required fields are marked *