Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Attachment ¶
type Attachment struct { Type ContentType //类型 Name string //显示用的名称 FileName string //真实文件地址 }
附件
type ContentType ¶
type ContentType string
内容类型:包括html\plain\
const ( CT_HTML ContentType = "html" CT_TEXT ContentType = "plain" )
func (ContentType) ToString ¶
func (this ContentType) ToString() string
type EmailMessage ¶
type EmailMessage struct { Type ContentType Charset string //字符编码 From string //发件人 To []string //接收者 Cc []string //接收者 Bcc []string //接收者 Subject string //标题 Body string //邮件内容 // contains filtered or unexported fields }
邮件
type KindlePusher ¶
type KindlePusher struct { Pm *PusherManager `Inject:""` Captions collect.CaptionManager `Inject:""` PortStr string `Value:"kindle.port"` Out string `Value:"out.dir"` Size int `Value:"out.size"` Host string `Value:"kindle.host"` Account string `Value:"kindle.account"` //mail 账户 Accountpwd string `Value:"kindle.pwd"` //发送密码 // contains filtered or unexported fields }
kindle
func (*KindlePusher) Init ¶
func (this *KindlePusher) Init()
type PusherManager ¶
type PusherManager struct { CatalogStr string `Value:"profile.catalog"` P profiles.ProfileManager `Inject:""` // contains filtered or unexported fields }
func (*PusherManager) Init ¶
func (this *PusherManager) Init()
Click to show internal directories.
Click to hide internal directories.