Sending confirmation emails using Nodemailer and SendGrid

Publicado el: 15 febrero 2020
en el canal de: Uthpala Heenatigala
11,353
124

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 -    • Apollo Server - Registering users and a bi...  

Become a patron -   / doingiteasychannel  
Follow me on Twitter   / uthpala_419  


#ApolloServer #Nodemailer #SendGrid


En esta página del sitio puede ver el video en línea Sending confirmation emails using Nodemailer and SendGrid de Duración hora minuto segunda en buena calidad , que subió el usuario Uthpala Heenatigala 15 febrero 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 11,353 veces y le gustó 124 a los espectadores. Disfruta viendo!