Awesome
Mailx
Mailx is a library that makes it easier to send email via SMTP. It is an enhancement of the golang standard library net/smtp
.
Features
Gomail supports:
- Attachments and embedded files
- HTML and text templates
- TLS connection and STARTTLS extension
- Sending multiple emails with the same SMTP connection
- Single destination headers are used in compliance with RFC 5322 #7
Installing
go mod:
go get github.com/valord577/mailx
Example
- See example
Changes
See the CHANGES for changes.
License
See the LICENSE for Rights and Limitations (MIT).