Versions in this module Expand all Collapse all v1 v1.4.0 Jun 29, 2022 Changes in this version + func Lookup(domain string) string + type Client struct + Client chan *email.Email + func NewClient(ctx context.Context, conf ClientConfig) (*Client, error) + func (c *Client) Close(waitForSendRemaining bool) + func (c *Client) Prepare(msg *email.Email) error + func (c *Client) Send(msg *email.Email) error + func (c *Client) SendNow(msg *email.Email) ([]byte, error) + func (c *Client) Wait() + type ClientConfig struct + DefaultBcc []string + DefaultCc []string + DefaultTo []string + FromMail string + FromName string + Password string + Port uint16 + SendQueueSize int + Server string + Username string + func (c *ClientConfig) ValidAndRepair() error