Documentation
¶
Overview ¶
Package smtptest provides a minimal in-process SMTP server for tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// TLSConfig, when set, advertises STARTTLS.
TLSConfig *tls.Config
// AdvertiseAuth advertises AUTH PLAIN.
AdvertiseAuth bool
// RejectRcpt makes every RCPT TO fail with 550.
RejectRcpt bool
}
Options controls server behaviour.
Click to show internal directories.
Click to hide internal directories.