Nestjs Send Email using the Mailer Module

Sdílet
Vložit
  • čas přidán 13. 12. 2023
  • To send email using ONLY the Nodemailer package, see: • Nestjs Send Email usin...
    Learn how to configure and send emails in Nest js applications using the mailer module and reusable codes.
    We'll use .env environment variables to save the credentials for the email service.
  • Věda a technologie

Komentáře • 8

  • @ZestMade
    @ZestMade  Před 7 měsíci

    Guys, there is a security issue with the mailer module used in this tutorial, as pointed out by @inanesilence. There is a workaround suggested here: github.com/nest-modules/mailer/pull/1021, or simply use nodemailer directly: czcams.com/video/Pu1YP5PZKFc/video.html

  • @santiagoruiz3805
    @santiagoruiz3805 Před 5 měsíci

    I love you so much!

  • @ZestMade
    @ZestMade  Před 7 měsíci

    How to use only nodemailer to send the emails: czcams.com/video/Pu1YP5PZKFc/video.html

  • @inanesilence
    @inanesilence Před 7 měsíci

    Mailer module is deprecated. High risk to this implementation in production.

    • @ZestMade
      @ZestMade  Před 7 měsíci

      Thanks for pointing that out! I guess you're referring to this issue: github.com/nest-modules/mailer/pull/1021
      Guys, there is a workaround suggested on the page as well, or simply use nodemailer directly. I'll see if I can make a follow up video using nodemailer

    • @inanesilence
      @inanesilence Před 7 měsíci

      @@ZestMade exactly. Using node mailer directly

    • @JoseCarlosParedes
      @JoseCarlosParedes Před 6 měsíci

      @@ZestMade I have a problem sending an email using "smtp", I get an error "Error: Invalid login: 535-5.7.8 Username and Password not accepted."
      Gmail security changed.
      Although I was able to create the application password, the problem continues.
      Any solution?

    • @truongkhanguyen6241
      @truongkhanguyen6241 Před 4 měsíci

      I see they fixed the error. Is it suitable for continued use?