Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NoReply = env.Config.Email.NoReply
NoReply is the default 'from' address
Functions ¶
func CanSendTo ¶ added in v0.10.0
CanSendTo returns true if Fider is allowed to send email to given address
func SetBlacklist ¶ added in v0.16.0
func SetBlacklist(s string)
SetBlacklist can be used to change email blacklist during runtime
func SetWhitelist ¶ added in v0.10.0
func SetWhitelist(s string)
SetWhitelist can be used to change email whitelist during runtime
Types ¶
type Context ¶ added in v0.15.0
Context holds everything emailers need to know about execution context
type Params ¶ added in v0.10.0
type Params map[string]interface{}
Params used to replace variables on emails
type Recipient ¶ added in v0.10.0
Recipient contains details of who is receiving the email
func NewRecipient ¶ added in v0.10.0
NewRecipient creates a new Recipient
Click to show internal directories.
Click to hide internal directories.