Versions in this module Expand all Collapse all v0 v0.4.0 Sep 3, 2026 Changes in this version + const ProdctName + const Version + type Address struct + func (a *Address) Angle() string + func (a *Address) String() string + type Att struct + func NewAtt(r io.Reader, name string) (*Att, error) + func (a *Att) Encode() string + func (a *Att) Name() string + type AuthInterface interface + type Client struct + func New(dsnStr string) *Client + func (c *Client) AuthByCramMd5(username, secret string) + func (c *Client) AuthByLogin(username, password string) + func (c *Client) AuthByPlain(username, password string) + func (c *Client) Bcc(addr, name string) error + func (c *Client) Body(body string) + func (c *Client) Cc(addr, name string) error + func (c *Client) Close() error + func (c *Client) From(addr, name string) error + func (c *Client) Header(key, value string) error + func (c *Client) LocalName(localName string) + func (c *Client) Reset() error + func (c *Client) Send() error + func (c *Client) Set(key, value string) + func (c *Client) String() string + func (c *Client) Subject(subject string) + func (c *Client) To(addr, name string) error + type Login struct + func (auth *Login) Next(fromServer []byte, more bool) ([]byte, error) + func (auth *Login) Start(server *smtp.ServerInfo) (string, []byte, error)