notifier

package
v0.0.0-...-386a0b5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Debug = false

Debug if true means don't send requests to mandrill but just log func calls

Functions

func SendAccountUpgradeEmail

func SendAccountUpgradeEmail(email, name string)

SendAccountUpgradeEmail sends an account upgrade notification email to the given address.

func SendDeletionRequestEmail

func SendDeletionRequestEmail(rcptAddr, rcptName, username, name, role string)

SendDeletionRequestEmail sends account deletion request to the given recipient and optionally bcc to EveryCloud support with the given details. If rcptAddr is passed as empty string then email will be sent to EveryCloud support only.

func SendPhishAlarmEmail

func SendPhishAlarmEmail(to, from, id, subject, body string)

SendPhishAlarmEmail send phish alarm email to the given address

func SendWelcomeEmail

func SendWelcomeEmail(email, name, username string, partner bool)

SendWelcomeEmail sends a welcome email to the given address. If partner flag is true then the partner email template will be used, or the customer template otherwise.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL