Registry / messaging / go-gomail-gomail

go-gomail-gomail

JSON →
library0.0.0-20160411212932-81ebce5c23dfgogounverified

Package gomail provides a simple interface to compose and send emails efficiently.

go get github.com/go-gomail/gomail
INSTALL
IMPORT
SIG · GO-GOMAIL-GOMAIL
G
go-gomail-gomail
messaginggov0.0.0-20160411212932-81ebce5c23df
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gomail
github.com/go-gomail/gomail

Send a simple email using SMTP.

package main import ( "github.com/go-gomail/gomail" ) func main() { m := gomail.NewMessage() m.SetHeader("From", "alice@example.com") m.SetHeader("To", "bob@example.com") m.SetBody("text/plain", "Hello!") d := gomail.NewDialer("smtp.example.com", 587, "user", "pass") d.DialAndSend(m) }
Debug
Known issues
breakingThe repository is archived and no longer maintained.
fix
Consider using github.com/go-mail/mail as an active fork.
affects: all
Upgrade
Version history
0.0.0-20160411212932-81ebce5c23dflatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
18
OpenAI (training)
1
Resources
go-gomail-gomail — go get go-gomail-gomail · libregistry