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 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! 😎
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?