Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(c DialerConfig) (*Client, error)
func (Client) SendMail ¶ added in v0.2.0
func (m Client) SendMail(p SendMailParams) error
type DialerConfig ¶
type SendMailParams ¶ added in v0.2.0
type SendMailParams struct { To []string From string Subject string // Add plain text part to the email, will be used as fallback if html is also included. PlainText string // Add html part to the email as a string, (User template params if you want to use templates passed to the client). HTML string // Template params to execute templates passed to the client. TemaplateParams *SendMailTemplateParams }
type SendMailTemplateParams ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.