1
0
Fork 0
golang-github-domodwyer-mai.../package.go
Daniel Baumann cb9cbb7a25
Adding upstream version 3.6.2.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-05-22 21:13:13 +02:00

18 lines
843 B
Go

// 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.
package mailyak