Documentation ¶
Overview ¶
Package mail provides a mail client
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sender ¶
type Sender interface { // Send sends email to the given recipients. Send(ctx context.Context, to []string, cc []string, bcc []string, subject string, body string, file ...string) error // SendTo sends email to the given recipients. SendTo(ctx context.Context, to []string, subject string, body string, file ...string) error }
Sender is an interface for sending email
Click to show internal directories.
Click to hide internal directories.