Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
type Attachment struct { Inline bool // inline vs attachment Filename string ContentID string // for inline ref, eg <img src="cid:[ContentID]" /> Data []byte }
func (*Attachment) Entity ¶
func (a *Attachment) Entity() *mime.Entity
Entity converts to mime.Entity form
type Email ¶
type Email struct { From string To string // accepts comma-separated list Cc string // accepts comma-separated list Bcc string // accepts comma-separated list Subject string // can contain any printable unicode characters Body string Attachments []*Attachment // contains filtered or unexported fields }
Email is a wrapper around mime.Entity
For full control use mime.Entity directly
Directories ¶
Path | Synopsis |
---|---|
package base64 produces RFC 2045 compliant base64 encoding
|
package base64 produces RFC 2045 compliant base64 encoding |
folder formats header fields, folding lines when needed
|
folder formats header fields, folding lines when needed |
Took me a while to wrap my head around so here is a bit of an explanation for future reference.
|
Took me a while to wrap my head around so here is a bit of an explanation for future reference. |
Click to show internal directories.
Click to hide internal directories.