Documentation
¶
Index ¶
- type BaseMail
- type Client
- func (c *Client) GetBaseMails(box string, from, till uint32) ([]BaseMail, error)
- func (c *Client) GetEmailByUID(boxName string, uid uint32) (*Mail, error)
- func (c *Client) Keepalive()
- func (c *Client) Logout()
- func (c *Client) Reconnect() error
- func (c *Client) SetAnsweredFlag(uid uint32) error
- func (c *Client) UnReadMailsUID(box string) ([]uint32, error)
- func (c *Client) UnreadMails(box string) (int, error)
- type Mail
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Con *client.Client
// 当前邮箱中的邮件总数量
Num uint32
Mails chan *Mail
// contains filtered or unexported fields
}
func (*Client) GetBaseMails ¶ added in v1.0.15
func (*Client) GetEmailByUID ¶ added in v1.0.7
通过UID获取邮件
func (*Client) SetAnsweredFlag ¶
邮件设置AnsweredFlag
func (*Client) UnReadMailsUID ¶ added in v1.0.6
返回未读邮件UID
Click to show internal directories.
Click to hide internal directories.