Documentation ¶
Index ¶
- func Init(user, password, from, host, port, modeTLS string, ...)
- func SendEmail(ctx context.Context, subject string, mailContent *bytes.Buffer, ...) error
- func SendMailAskResetToken(ctx context.Context, userMail, username, token, callbackUI, APIURL string) error
- func SendMailVerifyToken(ctx context.Context, userMail, username, token, callbackUI, APIURL string) error
- func Status(ctx context.Context) sdk.MonitoringStatusLine
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendEmail ¶
func SendEmail(ctx context.Context, subject string, mailContent *bytes.Buffer, userMail string, isHTML bool) error
SendEmail is the core function to send an email
func SendMailAskResetToken ¶
func SendMailAskResetToken(ctx context.Context, userMail, username, token, callbackUI, APIURL string) error
SendMailAskResetToken send mail to ask reset a user account.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.