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...
thanks for this ! perfect pace, no fluff and smooth delivery!
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! 😎
Thanks Robby. Very straightforward. Just wanted to get a proto working quick, this worked better for that purpose than my initial AWS SES attempt.
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.
Wow. I subscribed immediately. I love your presentation. Clear cut, fast, no bullshit.
straight to the point. thanks! i'm subscribed now.
Good teaching 💯💯💯
Great! thanks, more Golang material!
very educative video thank you
smooth teaching 💯
Thank you so much for this video
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 ?
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
@codingwithrobby Thank you
I’ll work with the gomail, it looks more easy 😅😊
I'm little bit confuse. so what service (go smtp, gomail, or sendgrid) should we use when we live in production?
15 minutes, 3 solutions. Special...
Nice content, Super useful
Thank you so much sir.
how to avoid email being marked as spam in Gmail?
life saver
sir, i use send grid but no response anything, it said 202 but in the dashboard sendgrid its nothing
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.
@@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?
good
7:55 🤣😂