Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Queue chan *gomail.Message
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 receipient. It works without a queue.
func StopMailDaemon ¶
func StopMailDaemon()
StopMailDaemon closes the mail queue channel, aka stops the daemon
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.