Documentation
¶
Overview ¶
Package driver defines interfaces to be implemented by email drivers as used by package email.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn interface {
// SendHTML email through the opened driver connection.
SendHTML(to []string, from, subj, html string) error
// SendPlainText email through the opened driver connection.
SendPlainText(to []string, from, subj, plaintext string) error
// Close the connection.
Close() error
}
Conn is a connection to the external email service.
Click to show internal directories.
Click to hide internal directories.