is_notification_unsubscribed (line 295)
Function to determine if a specific user email address is unsubscribed to a particular notification
bool
is_notification_unsubscribed
([string $email = ''], [string $varname = ''])
-
string
$email: email address
-
string
$varname: email varname (non-encrypted version)
send_email (line 37)
Function to dispatch new email using php's mail() or SMTP
bool
send_email
([string $toemail = ''], [string $subject = ''], [string $message = ''], [string $from = ''], [string $fromname = ''], [bool $html = false], [string $logtype = 'alert'])
-
string
$toemail: to email address
-
string
$subject: email subject
-
string
$message: email message
-
string
$from: email from address
-
string
$fromname: email from name
-
bool
$html: send html formatted email? (default is false)
-
string
$logtype: log type (default alert)
unsubscribe_notification (line 251)
Function to unsubscribe a user from receiving a particular email template on the site
bool
unsubscribe_notification
([string $email = ''], [string $emailid = ''])
-
string
$email: email address
-
string
$emailid: email varname (encrypted version)