Documentation
¶
Overview ¶
Package smtp delivers a contact message over SMTP. One of the two adapters behind contact.Mailer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sender ¶
type Sender struct {
Addr string // host:port
Username string
Password string
From string
To string
Timeout time.Duration
}
Sender sends through a mail server. Returned as a struct: callers hold it through the contact.Mailer interface they declared themselves.
Click to show internal directories.
Click to hide internal directories.