Documentation ¶
Overview ¶
Package tinymail provides a simple and easy to use interface to send smtp emails.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromTemplateFile ¶
func FromTemplateString ¶
Types ¶
type Message ¶
type Message interface { SetFrom(from string) From() string SetTo(to ...string) To() []string SetCC(cc ...string) CC() []string SetBCC(bcc ...string) BCC() []string SetSubject(s string) Subject() string Attach(files ...string) error Attachments() map[string][]byte Body() string SetUrgentPriority() SetNonUrgentPriority() SetNormalPriority() Priority() string }
Click to show internal directories.
Click to hide internal directories.