Debian Codegraph @

package.go

raw symbols SCIP
1 // Package mailyak provides a simple interface for generating MIME compliant
2 // emails, and optionally sending them over SMTP.
3 //
4 // Both plain-text and HTML email body content is supported, and their types
5 // implement io.Writer allowing easy composition directly from templating
6 // engines, etc.
7 //
8 // Attachments are fully supported including inline attachments, with anything
9 // that implements io.Reader suitable as a source (like files on disk, in-memory
10 // buffers, etc).
11 //
12 // The raw MIME content can be retrieved using MimeBuf(), typically used with an
13 // API service such as Amazon SES that does not require using an SMTP interface.
14 //
15 // MailYak supports both plain-text SMTP (which is automatically upgraded to a
16 // secure connection with STARTTLS if supported by the SMTP server) and explicit
17 // TLS connections.
18 package mailyak