Documentation ¶
Overview ¶
*
- Copyright 2015 @ z3q.net.
- name : mail_template
- author : jarryliu
- date : 2015-07-27 09:19
- description :
- history :
*
- Copyright 2015 @ z3q.net.
- name : MssManager
- author : jarryliu
- date : 2015-07-26 23:08
- description :
- history :
Index ¶
- func NewMssManager(p partner.IPartner, rep mss.IMssRep, partnerRep partner.IPartnerRep) mss.IMssManager
- type MssManager
- func (this *MssManager) CreateMsgTemplate(v interface{}) (mss.IMsgTemplate, error)
- func (this *MssManager) DeleteMailTemplate(id int) error
- func (this *MssManager) GetMailTemplate(id int) *mss.MailTemplate
- func (this *MssManager) GetMailTemplates() []*mss.MailTemplate
- func (this *MssManager) SaveMailTemplate(v *mss.MailTemplate) (int, error)
- func (this *MssManager) Send(tpl mss.IMsgTemplate, data mss.MsgData, to []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMssManager ¶
func NewMssManager(p partner.IPartner, rep mss.IMssRep, partnerRep partner.IPartnerRep) mss.IMssManager
Types ¶
type MssManager ¶
type MssManager struct {
// contains filtered or unexported fields
}
func (*MssManager) CreateMsgTemplate ¶
func (this *MssManager) CreateMsgTemplate(v interface{}) (mss.IMsgTemplate, error)
创建消息模版对象
func (*MssManager) DeleteMailTemplate ¶
func (this *MssManager) DeleteMailTemplate(id int) error
删除邮件模板
func (*MssManager) GetMailTemplate ¶
func (this *MssManager) GetMailTemplate(id int) *mss.MailTemplate
获取邮箱模板
func (*MssManager) GetMailTemplates ¶
func (this *MssManager) GetMailTemplates() []*mss.MailTemplate
获取所有的邮箱模版
func (*MssManager) SaveMailTemplate ¶
func (this *MssManager) SaveMailTemplate(v *mss.MailTemplate) (int, error)
保存邮箱模版
func (*MssManager) Send ¶
func (this *MssManager) Send(tpl mss.IMsgTemplate, data mss.MsgData, to []string) error
发送消息
Click to show internal directories.
Click to hide internal directories.