Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultHandler ¶
type DefaultHandler struct { Inbox <-chan Mail // contains filtered or unexported fields }
DefaultHandler holds the default implementation of mail
func (*DefaultHandler) Init ¶
func (mh *DefaultHandler) Init(user, password, host, port string, inbox <-chan Mail) Api
InitFromWebBuilder initializes a default email api instance
func (*DefaultHandler) Run ¶
func (mh *DefaultHandler) Run()
Run start the goroutine that listen for emails to send
type Mail ¶
Mail holds the content necessary for a email
func GetChangePasswordMail ¶ added in v0.5.4
func GetChangePasswordMail(baseUIPath, secret, publicAddress, username, email, redirectTo string) Mail
GetChangePasswordMail render the mail for changing password
func GetEmailConfirmationMail ¶
func GetEmailConfirmationMail(baseUIPath, secret, publicAddress, username, email, challenge string) Mail
GetEmailConfirmationMail render the mail for email confirmation
Click to show internal directories.
Click to hide internal directories.