Documentation
¶
Overview ¶
Package smtpclient is the small SMTP submission client used by the perch CLI. It wraps Raven's SMTP client and exposes only the operations needed to send a composed message.
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
}
Client wraps Raven's SMTP client.
func (*Client) Capabilities ¶
Capabilities returns the extensions advertised by the server in a stable order, including any parameter (for example "SIZE 26214400").
func (*Client) HasExtension ¶
HasExtension reports whether the server advertised an extension.
type Options ¶
type Options struct {
Addr string
TLSMode TLSMode
TLSConfig *tls.Config
Username string
Password string
LocalName string
Timeout time.Duration
}
Options configures Dial.
Click to show internal directories.
Click to hide internal directories.