Skip to content

A simple but useful email sender wrapper via SMTP protocol

License

Notifications You must be signed in to change notification settings

collatzc/emails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emails(ender)

A simple but useful email sender wrapper via SMTP protocol.

Installation

go get -u github.com/collatzc/emails

Quick Start

mailSender, err := NewMailSender("smtphost", 587, "SenderName", "senderDisplayEmail", "accountEmail", "accountPassword")
if err != nil {
	log.Fatal("Unexpected err", err)
}

mailSender.SendMail([]string{"recipientEmail"}, "subject", "content")

License

The MIT License (MIT)

About

A simple but useful email sender wrapper via SMTP protocol

Topics

Resources

License

Stars

Watchers

Forks

Languages