Sending Email with Go (net/smtp, gomail, and sendgrid)

Поділитися
Вставка
  • Опубліковано 6 лют 2025
  • In this video you'll learn three ways to send email from Go lang.
    Headers - "MIME-version: 1.0;
    Content-Type: text/html; charset=\"UTF-8\";"
    Gomail - pkg.go.dev/gop...
    Sendgrid-go - github.com/sen...

КОМЕНТАРІ • 26

  • @ThaEzioAuditore
    @ThaEzioAuditore 2 роки тому +3

    thanks for this ! perfect pace, no fluff and smooth delivery!

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

    Thanks for a well-done and informative video Robby. After watching the video and reading the gomail documentation, I wrote a test program that failed. But your video got me looking in the right direction. It was really an option in cPanel that was blocking direct access to the SMTP port and failing it with a invalid certificate error. I appreciate the help! 😎

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

    Thanks Robby. Very straightforward. Just wanted to get a proto working quick, this worked better for that purpose than my initial AWS SES attempt.

  • @XPirateMental
    @XPirateMental 2 роки тому +1

    Thanks! Great video. My next task is sending email verification and change password email email. Some how UA-cam knew I wanted to discover this video.

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

    Wow. I subscribed immediately. I love your presentation. Clear cut, fast, no bullshit.

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

    straight to the point. thanks! i'm subscribed now.

  • @hariharan-kb7tv
    @hariharan-kb7tv 2 роки тому

    Good teaching 💯💯💯

  • @libertad83y
    @libertad83y 2 роки тому

    Great! thanks, more Golang material!

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

    very educative video thank you

  • @aljondelumen4475
    @aljondelumen4475 2 роки тому

    smooth teaching 💯

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

    Thank you so much for this video

  • @edwardabbeo7085
    @edwardabbeo7085 21 день тому

    Hello Robby, what will be the approach if I want to add a button to the email being sent to perform an account activation when the user clicks on the button ?

    • @codingwithrobby
      @codingwithrobby  19 днів тому

      You usually store a secret key on your user rows then email a link like /activate/hxurjfbriendh73uenxirndj
      Then when they click the link from the email you grab the key from the url, find the user with a matching key and activate

    • @edwardabbeo7085
      @edwardabbeo7085 19 днів тому

      @codingwithrobby Thank you

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

    I’ll work with the gomail, it looks more easy 😅😊

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

    I'm little bit confuse. so what service (go smtp, gomail, or sendgrid) should we use when we live in production?

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

    15 minutes, 3 solutions. Special...

  • @Praveen-fo4jt
    @Praveen-fo4jt 2 роки тому

    Nice content, Super useful

  • @oussamasethoum2755
    @oussamasethoum2755 2 роки тому

    Thank you so much sir.

  • @chandraherdiputra1822
    @chandraherdiputra1822 2 роки тому

    how to avoid email being marked as spam in Gmail?

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

    life saver

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

    sir, i use send grid but no response anything, it said 202 but in the dashboard sendgrid its nothing

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

      Make sure you have the authorized sender stuff correct in send grid. You have to validate the domain your sending from. It’s been a while, but I think I had the same issue.

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

      @@codingwithrobby yess its already fix sir thankyou. Do you know another method to make the mail marked as not spam by default? when i test the mail it always goes into spam folder. I heard using a DMARC method will fix it, have u ever?

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

    good

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

    7:55 🤣😂