Categorygithub.com/KarpelesLab/pmail
repositorypackage
0.1.6
Repository: https://github.com/karpeleslab/pmail.git
Documentation: pkg.go.dev

# README

GoDoc

pmail

go-based email sending lib, including html emails, attachements, etc and with various email sending methods

Sample usage

	m := pmail.New()
	m.SetSubject("test")
	m.SetFrom("test@localhost")
	m.AddTo("bob@localhost")
	m.SetBodyText("Hi\nThis is an email!\n")

	m.Send(pmail.Sendmail) // on linux, if sendmail is configured