Documentation ¶
Index ¶
- func SendContentMsg(smtp *db.SMTP, mails []*db.Mail, subject, bodyString string) error
- func SendContentMsgByRecipients(smtp *db.SMTP, recipients []string, subject, bodyString 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 SendContentMsg ¶
func SendContentMsgByRecipients ¶ added in v0.1.10
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.