Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Criteria ¶
type Criteria struct {
Search *imap.SearchCriteria // 邮件查询条件
}
type Mail ¶
type Mail struct {
From string // 发件名称,可为空
To []string // 收件邮箱,必填
Cc []string // 抄送,可选
Bcc []string // 密送,可选
Subject string // 邮件标题,必填
Text string // 邮件文本内容 Text 与 Html 二选一
Html string // 邮件HTML内容
Attach []*Attach // 邮件附件
Date time.Time // 邮件时间
}
func ImapFetchLatest ¶
ImapFetchLatest 收取最新N个邮件
Click to show internal directories.
Click to hide internal directories.