Documentation
¶
Overview ¶
Copyright © 2016 National Data Service
Index ¶
- type EmailHelper
- func (s *EmailHelper) SendNewAccountEmail(account *api.Account, approveUrl string, denyUrl string) error
- func (s *EmailHelper) SendRecoveryEmail(name string, email string, recoveryUrl string, unapproved bool) error
- func (s *EmailHelper) SendStatusEmail(name string, address string, url string, approved bool) error
- func (s *EmailHelper) SendSupportEmail(name string, email string, messageType string, message string, anon bool) error
- func (s *EmailHelper) SendVerificationEmail(name string, address string, url string) error
- func (s *EmailHelper) SendVerifiedEmail(name string, address string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailHelper ¶
type EmailHelper struct { SupportEmail string // contains filtered or unexported fields }
func NewEmailHelper ¶
func (*EmailHelper) SendNewAccountEmail ¶
func (s *EmailHelper) SendNewAccountEmail(account *api.Account, approveUrl string, denyUrl string) error
Send new account request email
func (*EmailHelper) SendRecoveryEmail ¶
func (s *EmailHelper) SendRecoveryEmail(name string, email string, recoveryUrl string, unapproved bool) error
Send password recovery email
func (*EmailHelper) SendStatusEmail ¶
Send approve/deny status email
func (*EmailHelper) SendSupportEmail ¶
func (s *EmailHelper) SendSupportEmail(name string, email string, messageType string, message string, anon bool) error
Send support email
func (*EmailHelper) SendVerificationEmail ¶
func (s *EmailHelper) SendVerificationEmail(name string, address string, url string) error
Send email address verification message
func (*EmailHelper) SendVerifiedEmail ¶
func (s *EmailHelper) SendVerifiedEmail(name string, address string) error
Send email address verified
Click to show internal directories.
Click to hide internal directories.