How to send emails using Sendgrid (Twilio) and NodeJS

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ย. 2024
  • In this video you will learn how to send emails using #Twilio #Sendgrid. Using this you can send #marketing as well as #transactional #emails.
    ⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've been using Kite for 6 months and I love it! www.kite.com/g...
    FREE $100 credit @Digital Ocean: m.do.co/c/3208...
    Subscribe: www.youtube.co...
    Support the channel:
    Paypal: www.paypal.me/...
    Patreon: / trulymittal
    ---------------
    Other useful Playlists
    ---------------
    #RestAPI (#NodeJS and MongoDB): • REST API using NodeJS ...
    #API Authentication using #JWT: • NodeJS API Authenticat...
    #Firebase: • Firebase | Build a Not...
    Docker: • Docker
    MongoDB: • Learn MongoDB in 50 mi...
    Html/Css/Js: • HTML / CSS / JS
    Android: • Android
    Challenges: • Challenges
    ---------------
    What I use
    ---------------
    Mouse: amzn.to/2O9RJtu
    Keyboard: amzn.to/2qxajCU
    Keyboard 2: amzn.to/2XDWH4X
    Monitor: amzn.to/2pDg7dH
    Processor: amzn.to/347WWIb
    RAM: amzn.to/2QEkUqw
    Graphics: amzn.to/33aBrF4
    Microphone: amzn.to/2DabdI9
    #StayHome #WithMe #yoursTRULY #tutorial #howto #android

ความคิดเห็น • 136

  • @baderidrees
    @baderidrees 6 หลายเดือนก่อน +1

    I don't know why they're making it too complicated while it's this simple, thanks

  • @dillikumarreddy1579
    @dillikumarreddy1579 ปีที่แล้ว +3

    Emails are not being received to inbox wvwn though it is showing delivered on activity tab...

  • @mohammadyeasinalfahad5468
    @mohammadyeasinalfahad5468 3 ปีที่แล้ว +3

    I am becoming addicted to your videos.
    SAVE ME!!!!!!

  • @the_shridhar
    @the_shridhar 3 ปีที่แล้ว +2

    I an unable to login it says you are bit authorized

  • @amazecreations1853
    @amazecreations1853 3 ปีที่แล้ว +3

    I tried many times to create a account today , it's not working , showing something went wrong, try again later, tried with different emails as well , not working

    • @mafiacodes
      @mafiacodes  3 ปีที่แล้ว

      Well that may be a sendgrid issue, u might try again or report the issue to sendgrid

  • @iqraazeem5340
    @iqraazeem5340 ปีที่แล้ว +1

    emails are going to spam and the links attached in emails are not working. ANY SOLUTION

    • @mafiacodes
      @mafiacodes  ปีที่แล้ว

      add your domain, and make sure to have the DKIM records setup in domain provider from send grid

  • @atharvakinikar9771
    @atharvakinikar9771 2 ปีที่แล้ว +2

    The emails are getting sent but they are in the spam folder. How do I ensure that they come directly to inbox and not in spam folder of user?

  • @AbdulBaruk
    @AbdulBaruk ปีที่แล้ว +1

    I'm getting the Email sent successfully log, but not receiving any emails. I'm not sure why this is happening. emails are not delivered stuck in processing state

    • @mafiacodes
      @mafiacodes  ปีที่แล้ว

      check spam

    • @AbdulBaruk
      @AbdulBaruk ปีที่แล้ว

      @@mafiacodes i was checking spam, but not receiving any emails

    • @ayushgupta85158
      @ayushgupta85158 ปีที่แล้ว

      @@AbdulBaruk have you got any solution

    • @AbdulBaruk
      @AbdulBaruk ปีที่แล้ว

      @@ayushgupta85158 No

  • @YashiJain-ww4pz
    @YashiJain-ww4pz ปีที่แล้ว +2

    emails are not delivered, stuck in processing state. Any idea?

    • @tranduy6758
      @tranduy6758 ปีที่แล้ว +1

      I have same issue, if you solved it, please replay my comment.

    • @YashiJain-ww4pz
      @YashiJain-ww4pz ปีที่แล้ว +2

      @@tranduy6758 issue is not solved yet but I tried with different library which is nodemailer and it's working fine.

  • @richcaro3132
    @richcaro3132 3 ปีที่แล้ว +1

    This worked without any flaw.

  • @oniklegenda2320
    @oniklegenda2320 ปีที่แล้ว

    This have smashed my problems with sending emails. Thanx!

  • @musabjaved2946
    @musabjaved2946 3 ปีที่แล้ว +5

    Outstanding video boy!. Thank you so much

    • @mafiacodes
      @mafiacodes  3 ปีที่แล้ว +1

      Operator mono font and theme is snazzy operator

  • @harshitupadhyay334
    @harshitupadhyay334 3 ปีที่แล้ว +1

    your explanation was best but sendgrid is worst, i created account and closed window without filling all info and not its not allowing me to login

  • @mohanishsaim9537
    @mohanishsaim9537 5 หลายเดือนก่อน

    I have created the sendgrid account, but while performing login it shows blank page

  • @daviddaedae
    @daviddaedae 3 ปีที่แล้ว +4

    Your tutorials are excellent!

    • @mafiacodes
      @mafiacodes  3 ปีที่แล้ว +1

      Subscribe like share

    • @daviddaedae
      @daviddaedae 3 ปีที่แล้ว +1

      Already did :)

  • @osamamughal2707
    @osamamughal2707 ปีที่แล้ว

    Thankyou for this tutorial. It was really good. Much appreciated.

  • @bujalasarathkumarreddy4841
    @bujalasarathkumarreddy4841 2 ปีที่แล้ว +1

    thankyou so much it was very helpful

  • @sachinsadan1213
    @sachinsadan1213 2 ปีที่แล้ว +1

    Thank you so much. Super presentation.

  • @abdullahsheraz7461
    @abdullahsheraz7461 2 หลายเดือนก่อน

    why the email is showing in promotions

  • @davidnirmal971
    @davidnirmal971 3 ปีที่แล้ว +4

    Amazing explanation. I understood it totally. Thanks man!!!

  • @livymarilyn509
    @livymarilyn509 2 ปีที่แล้ว

    Very functional bro to send campaign emails .

  • @umarzafar7759
    @umarzafar7759 5 หลายเดือนก่อน

    Wonderful tutorial Boy!

  • @akramzayane1548
    @akramzayane1548 3 ปีที่แล้ว

    Hi, Please can u do tuto videos about live streaming backend using nodejs, and about which are the best thecnologies to use, because ur tutos are very gd, thx

  • @castielqiu6422
    @castielqiu6422 2 ปีที่แล้ว +1

    very good explaination

    • @mafiacodes
      @mafiacodes  2 ปีที่แล้ว

      Subscribe like share

  • @PrashantShekher
    @PrashantShekher 3 ปีที่แล้ว +1

    Thanks for the course I would like to know that how to set Multiple domain, means if we have 3 websites. Can we set up email automation for all of them from one sendgrid account?

    • @mafiacodes
      @mafiacodes  3 ปีที่แล้ว

      Where I verified a single sender there u can also verify a domain/s also.

  • @rogercolque
    @rogercolque 2 ปีที่แล้ว

    Helps a lot thank u.
    If I have send a Collection of jobs like LinkedIn do it in subscription emal, how to do that.

  • @marxapril
    @marxapril 2 ปีที่แล้ว

    thx man for it you help me a lot. I did not know why i cannot send email but my problem was that i did not authorize email :)

    • @mafiacodes
      @mafiacodes  2 ปีที่แล้ว

      Subscribe like share

  • @itksports
    @itksports ปีที่แล้ว

    Please it's showing email sent but I have not seen the email

  • @marinasouzalucas7363
    @marinasouzalucas7363 2 ปีที่แล้ว

    Thank you, it helped me a lot!!

  • @Ajaysharma-ox9rr
    @Ajaysharma-ox9rr 2 ปีที่แล้ว

    i am getting error unauthorized though email is verified and API key is correct

  • @RogerDOdipo
    @RogerDOdipo ปีที่แล้ว

    Wow... This is gold

  • @worktechnotoil8901
    @worktechnotoil8901 ปีที่แล้ว +1

    thank you

  • @saikumar-eh6df
    @saikumar-eh6df 3 ปีที่แล้ว

    thank you for this video and it's helpful for me.And
    Could you please make a video on sending calander invitation with accept and reject buttons ASAP

  • @PankajKumar-er3cd
    @PankajKumar-er3cd 3 ปีที่แล้ว +1

    'npm' is not recognized as an internal or external command,
    operable program or batch file.......im getting this error while running the command "npm install @sendgrid/mail

    • @dhruminthakkar2004
      @dhruminthakkar2004 3 ปีที่แล้ว

      You need to install nodejs properly and check version it is installed or not using node --version then try npm --version if you get version then you can run now npm install

  • @tuongmt
    @tuongmt 2 หลายเดือนก่อน

    I have a problem when login sendgrid. Does someone have a measure for that?
    Error: We are unable to log you in at this time, please check your email for further information.

  • @nandhakumargp5250
    @nandhakumargp5250 2 ปีที่แล้ว

    hi i have a query, how to add regards after the body

  • @SalsaAS85
    @SalsaAS85 9 หลายเดือนก่อน

    is there a way to authorize a post call with a bearer token?

  • @harshitjain6922
    @harshitjain6922 ปีที่แล้ว +1

    thanks

  • @pranshulkhare286
    @pranshulkhare286 2 ปีที่แล้ว

    How can we view the body data of sent email from Sendgrid dashboard ?

  • @customsoftwaresolutions9950
    @customsoftwaresolutions9950 2 ปีที่แล้ว

    I have done everything but I didn't receive the email

  • @niyiragiragerard2989
    @niyiragiragerard2989 3 ปีที่แล้ว

    Hey I got blocked by the CORS policy from sendgrid trying to send an email. How can I solve this?

  • @nguyenhuuanhtuan5360
    @nguyenhuuanhtuan5360 2 ปีที่แล้ว

    Thanks for the tutorial

  • @ghauri001
    @ghauri001 ปีที่แล้ว +1

    good one

  • @sarkhanrahimli8740
    @sarkhanrahimli8740 22 วันที่ผ่านมา

    Thank bro

  • @vecca26
    @vecca26 3 ปีที่แล้ว

    can you please post a video using email tracking api where in i need to get response of delivered and bounce of all the mail send through send plz

  • @balajih2214
    @balajih2214 3 ปีที่แล้ว +1

    Please do video about the screen sharing tutorial like Google meet,teams . Because you are doing great video and different content in youtube.Thanks in Advance

  • @DevonCallaway
    @DevonCallaway ปีที่แล้ว

    Great tutorial.

  • @AkashVermaNITian
    @AkashVermaNITian 2 ปีที่แล้ว

    I'm trying to do in java. getting error
    Request returned status Code 401Body:{"errors":[{"message":"The provided authorization grant is invalid, expired, or revoked","field":null,"help":null}]}

    • @mafiacodes
      @mafiacodes  2 ปีที่แล้ว

      The provided authorization grant is invalid, expired, or revoked - means that you have not selected to send emails from this API key

  • @douglasvasquez7969
    @douglasvasquez7969 2 ปีที่แล้ว

    My test go to Spam Inbox, what can I do?

  • @kranthikumarreddy8632
    @kranthikumarreddy8632 ปีที่แล้ว

    How to send Emails with Microsoft OAuthentication via SendGrid

  • @jl-dq5ch
    @jl-dq5ch ปีที่แล้ว

    needs to be updated

  • @itech_1
    @itech_1 7 หลายเดือนก่อน

    !You are not authorized to access sendgrid, please contact support.
    Whats?

  • @Saptisunil
    @Saptisunil 3 ปีที่แล้ว

    I am getting an error ! axious.then.catch.error how can i solve that ?? Please help me and Thanks in advance

    • @mafiacodes
      @mafiacodes  3 ปีที่แล้ว +1

      What error?

    • @Saptisunil
      @Saptisunil 3 ปีที่แล้ว

      @@mafiacodesaxios.then.catch.error

    • @Saptisunil
      @Saptisunil 3 ปีที่แล้ว

      @@mafiacodes how can i solve that error

  • @kevyyar
    @kevyyar 3 ปีที่แล้ว

    How can you make this dynamic so the inputs are coming from a real user from a contact form inside a website? I tried using Nodemailer but my problem is that it has to be run with npm run 'something' and if I upload my files through Filezilla, how can the npm script run? That is my problem. Any help please?

    • @mafiacodes
      @mafiacodes  3 ปีที่แล้ว

      This would work in any nodejs application, it’s simply a logic of sending mails using sendgrid and nodemailer.

  • @mreddygi
    @mreddygi 3 ปีที่แล้ว +1

    Wow, you earned a new subscriber

  • @anshumansharma2251
    @anshumansharma2251 ปีที่แล้ว

    not working i did same as you told

  • @biikaaa.6540
    @biikaaa.6540 2 ปีที่แล้ว

    why my delivery is at 0 while i have 18 request

  • @h.r.60
    @h.r.60 3 ปีที่แล้ว

    i'm having issues with using my own custom library. I publish it to github but when i implement it in the build.gradle, my android studio doesn't allow me to call any of my library's classes. any suggestions?

    • @mafiacodes
      @mafiacodes  3 ปีที่แล้ว +1

      Cannot help as we don’t have link to ur library

    • @h.r.60
      @h.r.60 3 ปีที่แล้ว

      @@mafiacodes Here you go: github.com/greybuz/Toaster-Library

  • @dilhaitumhara691
    @dilhaitumhara691 3 ปีที่แล้ว

    thanks a lot

  • @onkarkate2626
    @onkarkate2626 3 ปีที่แล้ว

    can we send only from and to email only from our app.js and body text will already set in sendgrid, something like this

    • @mafiacodes
      @mafiacodes  3 ปีที่แล้ว +1

      You can hardcode the body in file itself

    • @onkarkate2626
      @onkarkate2626 3 ปีที่แล้ว

      @@mafiacodes Thanks

  • @jatingajera2085
    @jatingajera2085 3 ปีที่แล้ว

    free sendgrid api not working. it's not verify my account face this problem.
    please help me i f you have any solution.

    • @mafiacodes
      @mafiacodes  3 ปีที่แล้ว +1

      verify in the send grid dashboard, I did that yesterday, and follow all the steps in the video.

  • @farazhusain925
    @farazhusain925 3 ปีที่แล้ว

    How can we integrate it with the React application?

    • @mafiacodes
      @mafiacodes  3 ปีที่แล้ว

      Use this with backend (eg express Koa fastify)

  • @shubh3899
    @shubh3899 2 ปีที่แล้ว

    can we send emails to any domain or just gmail?

    • @mafiacodes
      @mafiacodes  2 ปีที่แล้ว

      Any email address

  • @imkumawat
    @imkumawat 2 ปีที่แล้ว

    which font and theme are you using in vscode....?

    • @mafiacodes
      @mafiacodes  2 ปีที่แล้ว +1

      Operator mono and Snazzy operator

    • @imkumawat
      @imkumawat 2 ปีที่แล้ว

      @@mafiacodes theme is right, but operator mono font isn't matching with code in your video

  • @sasirekham931
    @sasirekham931 3 ปีที่แล้ว

    Is this possible to recover DELETED CONTACT LIST In sendgrid

  • @csangale
    @csangale 3 ปีที่แล้ว

    need verifications email at signup to verify user email

    • @mafiacodes
      @mafiacodes  3 ปีที่แล้ว

      Yes already explained in video that u need to verify the sender email

  • @achuannaantony6205
    @achuannaantony6205 3 ปีที่แล้ว

    Why I'm getting Forbidden instead of email sent when I do node app.js? Thanks in advance

    • @mafiacodes
      @mafiacodes  3 ปีที่แล้ว

      Most likely u have not verified the sender identity OR the API key is incorrect...

    • @achuannaantony6205
      @achuannaantony6205 3 ปีที่แล้ว

      Can sendgrid be used to notify to mail if any new text message from user is send to the message app?

    • @achuannaantony6205
      @achuannaantony6205 3 ปีที่แล้ว

      @@mafiacodes okay. Let me check that. Thanks

    • @mafiacodes
      @mafiacodes  3 ปีที่แล้ว +1

      It provides you with email functionality - you can do whatever you want

  • @omsatpathy5455
    @omsatpathy5455 ปีที่แล้ว

    bhai account hi nahi ban rha h sendGrid me. Humesha suspend ho jaa rha hai . Iska koi upay btao

    • @mafiacodes
      @mafiacodes  ปีที่แล้ว +1

      That is a big that I also faced with sendgrid

    • @omsatpathy5455
      @omsatpathy5455 ปีที่แล้ว

      @@mafiacodes yeah. I faced it so much that I got back to using gmail API by Google. That refresh token and all.. it's really time consuming. Can u , may be, do a video on how to resolve this send grid issue? Sbko ho rha h bhai. 🥲

  • @TVPQA
    @TVPQA 2 ปีที่แล้ว

    Does it work with Bcc (blind carbon copy)?

  • @Jantex_Paddle
    @Jantex_Paddle ปีที่แล้ว

    Please add subtitles🙏🙏🙏

  • @adrianwalker9917
    @adrianwalker9917 2 ปีที่แล้ว

    It didn't work but didn't error. Nice video though

  • @santoshmanchiraju
    @santoshmanchiraju 3 ปีที่แล้ว

    Any idea why the email goes to Promotions tab? It's happening for me too (even if it's a plain text message). Any way to avoid this?

    • @mafiacodes
      @mafiacodes  3 ปีที่แล้ว +2

      because its send from the sendgrid mailer, once u verify your own custom domain it should not happen...

    • @santoshmanchiraju
      @santoshmanchiraju 3 ปีที่แล้ว

      @@mafiacodes We did. Still happens. I’ve read articles over the internet about how the content is supposed to be and all kind of stuff. But even a small email with two lines is going to promotions.

    • @mafiacodes
      @mafiacodes  3 ปีที่แล้ว

      Can u share the screen shot of to and from - from the inbox, I want to see the mailer field and other headers or u can share the text version by viewing the raw email.

    • @santoshmanchiraju
      @santoshmanchiraju 3 ปีที่แล้ว

      @@mafiacodes Shall I send it over your email? I know you wrote not to ask questions over your email. But I don’t know how to attach them here

    • @mafiacodes
      @mafiacodes  3 ปีที่แล้ว

      Send me there

  • @karoldawid8981
    @karoldawid8981 ปีที่แล้ว

    Did not work :p

    • @mafiacodes
      @mafiacodes  ปีที่แล้ว

      sorry to hear that

  • @plsgandalf1272
    @plsgandalf1272 3 ปีที่แล้ว

    Can I put more than 1 email receiver? for example: to: "example@gmail.com"," "example1@gmail.com"

  • @4lifeinJesus
    @4lifeinJesus 2 ปีที่แล้ว

    Talked too fast to understand. Being American, I often have to ask the person I'm listening to to slow down and speak clearly.

  • @Nathan00at78Uuiu
    @Nathan00at78Uuiu ปีที่แล้ว

    Is there a way to receive emails from your gmail inbox? I'm trying to use TinyLetter to automate the process of sending out emails to subscribers. TinyLetter lets you send an email to a secret email address which then gets used for the email campaign but it is in draft mode. To send it from email client you need to respond to the reply they send. So I want to use sendgrid to send an email and then reply to the email sent filtered by subject line. Was wondering if sendgrid could do this for me. Trying to help someone who already has TinyLetter doing all this, or else I would have him just use sendgrid altogether.

  • @FreeSkypeGenerator1
    @FreeSkypeGenerator1 ปีที่แล้ว +1

    thanks