No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis.yml
README.md
mail.go
mail_test.go

README.md

Gomail

Gomail is a wrapper around smtp.SendMail.

Build Status GoDoc

Usage

var mailer = gomail.New(&gomail.Config{
	UserName: "xyz@abc.com",
	Password: "password",
	ServerHost: "host",
	ServerPort: "port",
	SenderAddr: "xyz@abc.com"
	Prefix: "Some Subject Line Prefix - "
	Receivers: []string {  
		"123@abc.com",
		"456@abc.com"
	}
})

mailer.Send("Test Subject", "Test Content")


uknth.me  ·  GitHub @uknth  ·  Twitter @uknth