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 ¶
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.
Click to show internal directories.
Click to hide internal directories.