Documentation ¶
Index ¶
Constants ¶
View Source
const ( CRLF = "\r\n" //解析分隔标记 Subject = "Subject" //邮件主题 From = "From" //发件人信息 To = "To" //收件人信息 Data = "Data" //指定邮件发送时间 ContentType = "Content-Type" //指定消息类型 ContentTransferEncoding = "Content-Transfer-Encoding" //指定消息编码格式 ContentDisposition = "Content-Disposition" MIME = "MIME-Version" Base64 = "Base64" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
type File ¶
type File struct { Filename string //文件名称 Type []string //内容类型 Disposition []string //文件描述 TransferEncoding string //传输编码 Encoding string //编码后的字符串 // contains filtered or unexported fields }
File 邮件附件信息
Click to show internal directories.
Click to hide internal directories.