Nodemailer | Send Email using Gmail with OAuth | Node.js

Поділитися
Вставка
  • Опубліковано 7 січ 2025

КОМЕНТАРІ • 30

  • @ProgrammingInBlood
    @ProgrammingInBlood  Рік тому +2

    Nodemailer Server Github Repo URL -> github.com/ProgrammingInBlood/nodemailer-gmail-Oauth2

  • @КлиментБаркалов

    i was stack in redirect uri because im typed slash after link, only your video was helpfull for solve this issue

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

    this guided me so much, thanks

  • @Irina-mm4hf
    @Irina-mm4hf 8 місяців тому

    Thank you so much for this video and repo!

  • @ReflexWalaXD
    @ReflexWalaXD Рік тому +2

    Wow Really Helpful

  • @scrappyjs2632
    @scrappyjs2632 Рік тому +1

    thank very much for this video

  • @dineshindn4404
    @dineshindn4404 Рік тому +1

    Excellent 👏

  • @ghostofdelusions
    @ghostofdelusions Рік тому +2

    So Much Helpful Worth It ❤
    Also Can you tell me the song name pls.

  • @rameshchavan06
    @rameshchavan06 Місяць тому

    Thanks for sharing, its works on local but not on live server? email not received.

  • @hendoitechnologies
    @hendoitechnologies 7 місяців тому

    Sir.. Post video how to deploy react js or next js website on google cloud

  • @arunacentura2981
    @arunacentura2981 Рік тому

    Thanksss dudeeee....

  • @NithyaE-k7s
    @NithyaE-k7s Місяць тому

    Error: Invalid login: 535-5.7.8 Username and Password not accepted. For more information, go to why this error came , please explain

  • @Crys-lc9ue
    @Crys-lc9ue 6 місяців тому

    Hi. What happens when the token expires? Can it be updated automatically, or do I need to generate a new token and copy it into my code?

    • @ReflexWalaXD
      @ReflexWalaXD 6 місяців тому

      Yes, This is what I found "A Google Cloud Platform project with an OAuth consent screen configured for an external user type and a publishing status of "Testing" is issued a refresh token expiring in 7 days". So, you will need to move the app to production and put the app for verification. (NO OTHER WAY IS THERE TO PREVENT THIS)

  • @pateljeel8515
    @pateljeel8515 Рік тому

    Bro when refresh token expires then how does this mail-send functionality work? should we need to regenerate the token and manually put refresh token as like we did previously if yes then how to do that

    • @ProgrammingInBlood
      @ProgrammingInBlood  Рік тому +1

      Refresh Token Expires in 7 days. So The Keys Needs To Be Updated Every 7 days. The Refresh Token Generation is shown in the video. To Generate Permanent Refresh Token Move Your app From “Testing” To Production

    • @pateljeel8515
      @pateljeel8515 Рік тому

      @@ProgrammingInBlood So On Production App whichever Refresh token Generate it will not expire. and I use it for life time with single token

    • @ProgrammingInBlood
      @ProgrammingInBlood  Рік тому +1

      Exactly

    • @malevolentbun
      @malevolentbun 5 місяців тому

      @@ProgrammingInBlood Are there any more differences between testing and production we should be aware of? And so, this thing "works" forever then? We don't have to update or anything here based on time right

  • @dineshindn4404
    @dineshindn4404 Рік тому

    Your videos are excellent, But, I'm facing some issues, after a few days of creating it, the refresh token expires. Would you happen to have any solutions?

    • @ProgrammingInBlood
      @ProgrammingInBlood  Рік тому +1

      Yes, This is what I found "A Google Cloud Platform project with an Auth consent screen configured for an external user type and a publishing status of "Testing" is issued a refresh token expiring in 7 days".
      So, you will need to move the app to production and put the app for verification.
      (NO OTHER WAY IS THERE TO PREVENT THIS)

  • @sifact1391
    @sifact1391 Рік тому

    Hey thanks. I did it exact same way but refresh token expired within 7 days. Is there any way to prevent this?

    • @ProgrammingInBlood
      @ProgrammingInBlood  Рік тому +1

      Yes, This is what I found "A Google Cloud Platform project with an OAuth consent screen configured for an external user type and a publishing status of "Testing" is issued a refresh token expiring in 7 days". So, you will need to move the app to production and put the app for verification. (NO OTHER WAY IS THERE TO PREVENT THIS)

  • @stevendo6829
    @stevendo6829 3 місяці тому

    Thanks

  • @bilalELFazazi-pz9gu
    @bilalELFazazi-pz9gu Рік тому

    How to solve problem can't create new access token for user

  • @houssemghabarou9984
    @houssemghabarou9984 Рік тому

    is it free or u have a certain number emails u can send ?

    • @ProgrammingInBlood
      @ProgrammingInBlood  Рік тому +1

      Unlimited but there is rate limit for per sec and per hour you can check docs for further information