Documentation ¶
Index ¶
- Variables
- func DecodeText(body, mimeContent string) string
- type Client
- func (self *Client) Close() error
- func (self *Client) Debug() *Client
- func (self *Client) ErrorHandler(f func(e error)) *Client
- func (self *Client) MailHandler(f imap.MailHandler) *Client
- func (self *Client) Send(from, subject, message string, recips ...string) (err error)
- func (self *Client) Start() (result *Client, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var AddrReg = regexp.MustCompile("(?i)[=A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,4}")
Functions ¶
func DecodeText ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ErrorHandler ¶
func (*Client) MailHandler ¶
func (self *Client) MailHandler(f imap.MailHandler) *Client
Click to show internal directories.
Click to hide internal directories.