An ESMTP client and server library written in Go.
- Mailer - High-level SMTP client
- Client - Low-level SMTP client
- Server - SMTP server
- Resolve - MX-Record resolve
- Shared - Shared definitions e.g. SMTP status codes
- Tester - Testing utilities e.g. server with mail map
See examples for more information.
- ESMTP client & server implementing [RFC 5321]
- Support for additional SMTP extensions such as [AUTH] and [PIPELINING]
- UTF-8 support for subject and message
This library is a fork of the great emersion/go-smtp. We try to modernize the api, the performance and supporting non standard extensions like XOORG. If you don't have performance issues or want something very stable, use upstream.
The Go standard library provides a SMTP client implementation in net/smtp.
However net/smtp is frozen: it's not getting any new features. go-smtp
provides a server implementation and a number of client improvements.
MIT