Node How To Send An Email From Gmail With Nodemailer

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

КОМЕНТАРІ • 65

  • @WittCode
    @WittCode  7 місяців тому +25

    Hey everyone! A few days after posting this video Google updated their UI! The App Passwords can now be found by after going to your chrome profile, search for "App Passwords" in the search bar.

    • @adventure5444
      @adventure5444 7 місяців тому +1

      thanks alot brother, been search for this for the past 2 days

    • @jby1568
      @jby1568 7 місяців тому +1

      thankyou!!

    • @duypkthg592
      @duypkthg592 6 місяців тому +1

      It took me two hours to find it and it turns out it was because google updated the interface🤣

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

      Please can someone help me with the exact way to find it. I have searched for App Passwords and I still cannot find it

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

      Seen it. Thank you

  • @ayoubenglish4247
    @ayoubenglish4247 8 місяців тому +1

    Thanks, man, you have saved my life 😂. I was struggling to find the solution until I saw your video.

    • @stay-motivated23
      @stay-motivated23 5 місяців тому

      same here , can you image I was working on this task in my back-end 😝😝😝😝

  • @rafaelxrafael
    @rafaelxrafael 25 днів тому

    worked like a charm! thanks

    • @WittCode
      @WittCode  25 днів тому

      Great to hear! 😀

  • @nikakondra5321
    @nikakondra5321 4 місяці тому

    You are doing a wonderful work, really helped me to recall how it's done. Keep going mate, you have a perfect skills to teach and trust me, one day the YT's algorithm will catch up. :)

    • @WittCode
      @WittCode  4 місяці тому

      Thanks for the kind words!

  • @koffiflaimoiye5276
    @koffiflaimoiye5276 8 днів тому

    Thank you very much ! Merci beaucoup !

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

    Very helpful, thank you for reducing part of my load of work.

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

      Great to hear! Thanks for watching!

  • @tylersen3318
    @tylersen3318 9 місяців тому +1

    Man, it is like you read my mind. I just watched your session login video this weekend and wished that you had an email video.
    Great channel 👍🏻 I like that you are both thorough and concise. That’s a hard line to walk, and you do it nicely.
    You wouldn’t also be working on a video for verifying a new user’s email account, would you?

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

      Hey there thanks! And I actually kind of do lol I think I posted it yesterday it's about a subscription system and i use a verification email system in it! Hope it helps!

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

    Very helpfull, thank you!

  • @AbyanYusuf-rt3rp
    @AbyanYusuf-rt3rp 2 місяці тому

    Thank you very much for the video. It helped a lot.

  • @geofreybazar17
    @geofreybazar17 2 місяці тому

    Thank you so much

    • @WittCode
      @WittCode  2 місяці тому

      of course! Thanks for watching!

  • @stay-motivated23
    @stay-motivated23 5 місяців тому

    thanks man save our life

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

    Thank you very much, and thanks you for the pinned comment

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

      No worries! Glad it helped

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

    Thanks, it works

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

    Thanks man

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

    post selecting 2-factor auth, I am not seeing the APP options.. is there some change in google setting.

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

      Hey there! Did you try what is in the pinned comment?

  • @jemanpark7547
    @jemanpark7547 8 місяців тому

    thanks for the video. i have a simple question. if you send email using gmail account via nodemail, it is free no matter much many you send email via gmail? Thank you

    • @WittCode
      @WittCode  8 місяців тому +1

      Hey there! I believe for gmail you can send up to 500 emails a day. To send more you have to pay. This is a gmail thing not a nodemailer thing

  • @2ru2pacFan
    @2ru2pacFan 5 місяців тому +1

    Thanks Gordon Ramsay.

    • @WittCode
      @WittCode  5 місяців тому +1

      haha not the first time ive gotten that!

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

      @@WittCode you honestly look like his younger brother lol

  • @oreyon9514
    @oreyon9514 8 місяців тому

    Thank you, this is worked perfectly.

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

    Hye i've tried this and its working fine. But why is the sender of the email the same email that should be the receiver .
    Email is being received, but it doesn't seem right. It appears that I'm sending it to myself from the same email account

    • @WittCode
      @WittCode  7 місяців тому +1

      Hey there! That's just what I did to demonstrate the app in the video. If you want to send it to someone else just change the "to" property in the sendMail function

  • @SaifulIslam-wo7os
    @SaifulIslam-wo7os 2 місяці тому

    great

  • @JoaoPaulo-ox6pr
    @JoaoPaulo-ox6pr 6 місяців тому

    the problem is, the section create app password isn't appearing at all for me.

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

      Even if you tried what's in the pinned comment?

    • @JoaoPaulo-ox6pr
      @JoaoPaulo-ox6pr 6 місяців тому

      @@WittCode yes, but i fixed it with Oauth keys, i'm could be wrong but t's seem that they stopped giving support to app passwords recently and the only method to use google apis today is with Oauth keys.

  • @shivanshtiwari6813
    @shivanshtiwari6813 4 місяці тому

    Hey man i tried the same method u posted,actually I am trying this for hours as I am studying nodejs but it didn't seem to work for me whenever i compile the program it says "email sent successfully" as per sentence i console in then() but the email is never sent, please help

    • @WittCode
      @WittCode  4 місяці тому

      I'd have to see the code to debug. Paste what you can here

  • @γιωργοςκαμπουρης-φ8μ
    @γιωργοςκαμπουρης-φ8μ 4 місяці тому

    Hello I am trying to run this and I am getting an error: self-signed certificate in certificate chain …code :'ESOCKET', command: 'CONN' . Has anyone the same problem? Can anyone help me ?

    • @WittCode
      @WittCode  4 місяці тому

      Hey there! That looks like an issue with using SSL. What port are you running this on?

  • @desengineers
    @desengineers 8 місяців тому

    That's why it wasn't working! The special password... Thank you man you solved my problem!

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

      i dont see any app passwords in my gmail

    • @johnnaeth-jp7gn
      @johnnaeth-jp7gn 7 місяців тому

      @@karthikraj9394 type and search in the security section of your account as "App Password"

  • @hanisntsolo
    @hanisntsolo 28 днів тому

    not working for me.

    • @WittCode
      @WittCode  28 днів тому

      Any errors?

    • @hanisntsolo
      @hanisntsolo 28 днів тому

      @@WittCode I am trying it with nextjs project and the app passwords are not working though I just made it working with Oauth2 flow.
      but the usual way of using app passwords is not working though the same is working for my other projects. like grafana and alertmanager , prometheus etc.

  • @MailBomber-p4y
    @MailBomber-p4y 3 місяці тому

    What is this black screen 😡😡😡😡😡😡😡😡

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

      Covering up my address and phone number

    • @MailBomber-p4y
      @MailBomber-p4y 3 місяці тому

      ​@@WittCode Oops, sorry 😅😅, didn't mean to disturb you. I thought my comment would be ignored!
      Thank you for your tutorial. It worked for me!! 😊😊. I was experimenting with email servers for my backend application. Do you know what is the limit for the number of emails per day (or per hour) I can send using personal gmail account??

    • @MailBomber-p4y
      @MailBomber-p4y 3 місяці тому

      ​@@WittCode sorry if my previous message came across as rude! 🙏 I didn't mean it that way, just a little frustrated with the screen. Totally understand you had to cover up your address and phone number.
      Also, by the way, thanks a lot for the video-it worked perfectly! 🎉😊
      Also, by any chance, do you know the limit on the number of emails I can send per day (or per hour) from a personal Gmail account? Thanks in advance!
      Please ignore my username. I am not a spammer 😅😅. Just came up with some funny name

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

      @@MailBomber-p4y haha nah you're good! Thanks for watching! And yeah I believe you can send up to 500 emails a day with the free account. To send any more you have to pay!

  • @olegmaslaw
    @olegmaslaw 9 місяців тому +2

    👏👏 Comment for support channel

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

    thank u soooo much it was really helpful