-
Notifications
You must be signed in to change notification settings - Fork 75
/
Copy pathpackage.go
18 lines (18 loc) · 843 Bytes
/
package.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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