Documentation ¶
Index ¶
- Constants
- Variables
- type AuthMechanism
- type Client
- func (c *Client) Auth(logger lager.Logger) error
- func (c *Client) AuthMechanism(logger lager.Logger) smtp.Auth
- func (c *Client) Connect(logger lager.Logger) error
- func (c *Client) Data(msg Message) error
- func (c *Client) Error(logger lager.Logger, err error) error
- func (c *Client) Extension(name string) (bool, string)
- func (c *Client) Hello() error
- func (c *Client) PrintLog(logger lager.Logger, action string, data ...lager.Data)
- func (c *Client) Quit() error
- func (c *Client) Send(msg Message, logger lager.Logger) error
- func (c *Client) StartTLS() error
- type Config
- type Message
- type Part
Constants ¶
View Source
const ( SMTPAuthNone = "none" SMTPAuthPlain = "plain" SMTPAuthCRAMMD5 = "cram-md5" )
Variables ¶
View Source
var SMTPAuthMechanisms = []string{SMTPAuthNone, SMTPAuthPlain, SMTPAuthCRAMMD5}
Functions ¶
This section is empty.
Types ¶
type AuthMechanism ¶
type AuthMechanism int
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.