Using Sendgrid templates with go

A simple implementation to send mails

Last week I have to write an implementation to send emails with go, so here is a simple example of what I end up doing using the Sendgrid templates. Use the official go library sendgrid-go, it is really simple to use and have a great set of examples here. Simple Email First install the package. go get github.com/sendgrid/sendgrid-go Import it and use the sendrid Helper Class mail to send a simple message: [Read More]