Package Usage: go: github.com/domodwyer/mailyak/v3
Package mailyak provides a simple interface for generating MIME compliant
emails, and optionally sending them over SMTP.
Both plain-text and HTML email body content is supported, and their types
implement io.Writer allowing easy composition directly from templating
engines, etc.
Attachments are fully supported including inline attachments, with anything
that implements io.Reader suitable as a source (like files on disk, in-memory
buffers, etc).
The raw MIME content can be retrieved using MimeBuf(), typically used with an
API service such as Amazon SES that does not require using an SMTP interface.
MailYak supports both plain-text SMTP (which is automatically upgraded to a
secure connection with STARTTLS if supported by the SMTP server) and explicit
TLS connections.
20 versions
Latest release: almost 2 years ago
145 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/domodwyer/mailyak/v3