Versions in this module Expand all Collapse all v1 v1.0.0 Feb 21, 2022 Changes in this version + type Client struct + func NewClient(accountName, id, secret string) *Client + func (client *Client) Debug(debug bool) *Client + func (client *Client) NewHTMLMail(subject, content string) *Mail + func (client *Client) NewMail(subject, content string) *Mail + type Mail struct + func (mail Mail) MustSend(ctx context.Context, addresses ...string) + func (mail Mail) Send(ctx context.Context, addresses ...string) error + type ResponseError struct + Code string + Message string + func (e ResponseError) Error() string