Documentation
¶
Index ¶
- Constants
- type Client
- type ContentType
- type Option
- func Attachment(filename, contentType string, data []byte) Option
- func Content(typ ContentType, body string) Option
- func From(name string, addr ...string) Option
- func ReplyTo(addr string, name ...string) Option
- func SendBCC(bcc ...string) Option
- func SendCC(cc ...string) Option
- func SendTo(to ...string) Option
- func Subject(s string) Option
Constants ¶
View Source
const CRLF = "\r\n"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentType ¶
type ContentType string
const ( Html ContentType = "html" Plain ContentType = "plain" )
type Option ¶
type Option func(m *message)
func Attachment ¶
func Content ¶
func Content(typ ContentType, body string) Option
Click to show internal directories.
Click to hide internal directories.