Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { DefaultTmplData map[string]interface{} // DefaultTmplData stores default data for templates. // contains filtered or unexported fields }
Client represents SMTP for sending mail.
func (*Client) SendHTML ¶
SendHTML sends an email with HTML header. Provided template data will override default template data.
func (*Client) SetTemplatePath ¶
SetTemplatePath set template path location and parses them. Uses embedded mail templates if path is not set.
Click to show internal directories.
Click to hide internal directories.