The best way to send emails in Go. **Download** ```bash go get github.com/joegrasse/mail ``` **Basic Usage** ```go package main import ( "fmt" "github.com/joegrasse/mail" ) func main() { var err error email := mail.New() email.SetFrom("From Example ") email.AddTo("to@example.com") email.SetSubject("New Go Email") email.SetBody("text/plain", "Hello Gophers!") html_body := ` Html Email Test!

Hello Gophers!

image

` email.AddAlternative("text/html", html_body) email.AddInline("/path/to/image.jpg") err = email.Send("smtp.example.com:25") if err != nil { fmt.Println(err) } else { fmt.Println("Email Sent!") } } ```