Documentation
¶
Index ¶
- func SendAPIMail(schedule *db.Schedule, smtp *db.SMTP, mails []*db.Mail) (string, error)
- func SendAllMsg(smtp *db.SMTP, mails []*db.Mail, files []*File, subject, bodyString string) error
- func SendContentMsg(smtp *db.SMTP, mails []*db.Mail, subject, bodyString string) error
- func SendContentMsgByRecipients(smtp *db.SMTP, recipients []string, subject, bodyString string) error
- func SendContentTemplateMsg(smtp *db.SMTP, mails []*db.Mail, subject, bodyString string, useTemplate bool, ...) (string, error)
- func SendFilesMsg(smtp *db.SMTP, mails []*db.Mail, files []*File, subject, bodyString string) error
- func SendMail(sendMsg *SendMsg, invalidMails ...string) error
- func SendTestMsg(st *db.SMTP) error
- type File
- type Mail
- type SMTP
- type SendMsg
- type UserNotFoundError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendAPIMail ¶
func SendAllMsg ¶
func SendContentMsg ¶
func SendContentTemplateMsg ¶
func SendFilesMsg ¶
func SendTestMsg ¶
Types ¶
type UserNotFoundError ¶
type UserNotFoundError struct {
// contains filtered or unexported fields
}
func ToUserNotFoundError ¶
func ToUserNotFoundError(mails []string) *UserNotFoundError
func (*UserNotFoundError) Error ¶
func (e *UserNotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.