Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Queue chan *mail.Msg
Queue is the mail queue
Functions ¶
func AssertSent ¶ added in v0.17.0
AssertSent asserts if a mail has been sent
func Fake ¶ added in v0.17.0
func Fake()
Fake stops any mails from being sent and instead allows for recording and querying them.
func SendTestMail ¶ added in v0.14.0
SendTestMail sends a test mail to a recipient. It works without a queue.
Types ¶
type ContentType ¶
type ContentType int
ContentType represents mail content types
const ( ContentTypePlain ContentType = iota ContentTypeHTML ContentTypeMultipart )
Enumerate all the team rights
Click to show internal directories.
Click to hide internal directories.