Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultMailSubject = "no title"
)
Variables ¶
This section is empty.
Functions ¶
func GetByMessage ¶
Types ¶
type MailInfoResp ¶
type MailInfoResp struct { Id int `json:"id,omitempty"` MessageId int `json:"messageId,omitempty"` // message TemplateId int `json:"templateId,omitempty"` Params string `json:"params,omitempty"` Status int `json:"status,omitempty"` CreateTime string `json:"createTime,omitempty"` UpdateTime string `json:"updateTime,omitempty"` }
type Req ¶
type Req struct { Template string `json:"template"` // template of this mail TemplateParam interface{} `json:"params,omitempty"` // template params Subject string `json:"subject,omitempty"` // mail's subject Sender string `json:"sender,omitempty"` // mail send account on the platform Receiver string `json:"receiver,omitempty"` // receiver list(with comma if multi) Cc string `json:"cc,omitempty"` // cc list(with comma if multi) }
type RespWrapper ¶
type RespWrapper struct { app.Response MailInfoResp }
Click to show internal directories.
Click to hide internal directories.