Mailx is a library that makes it easier to send email via SMTP. It is an enhancement of the golang standard library net/smtp
.
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
go mod:
go get github.com/valord577/mailx
- See example
See the CHANGES for changes.
See the LICENSE for Rights and Limitations (MIT).