Send emails easily.
package main
import "github.com/zemirco/email"
func main() {
mail := email.Mail{
From: "the@internet.com",
To: "mirco.zeiss@gmail.com",
Subject: "Hello there",
HTML: "<h1>Awesome</h1>",
}
err := mail.Send("smtp.amazonaws.com", 587, "user", "password")
if err != nil {
panic(err)
}
}
go test
MIT