Nestjs Send Email using the Mailer Module

Поділитися
Вставка
  • Опубліковано 19 лис 2024

КОМЕНТАРІ • 8

  • @ZestMade
    @ZestMade  11 місяців тому

    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: ua-cam.com/video/Pu1YP5PZKFc/v-deo.html

  • @santiagoruiz3805
    @santiagoruiz3805 9 місяців тому

    I love you so much!

  • @inanesilence
    @inanesilence 11 місяців тому

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

    • @ZestMade
      @ZestMade  11 місяців тому

      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 11 місяців тому

      @@ZestMade exactly. Using node mailer directly

    • @JoseCarlosParedes
      @JoseCarlosParedes 10 місяців тому

      @@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 8 місяців тому

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

  • @ZestMade
    @ZestMade  11 місяців тому

    How to use only nodemailer to send the emails: ua-cam.com/video/Pu1YP5PZKFc/v-deo.html