Functions

Function Description
sendEmail Sends an HTML email.

sendEmail

Sends an HTML email.

Return Value: Sets $this->Error with error response if not successful.

sendEmail($subject, $body, $to, $from_email = false, $from_name = false, $reply_to = false, $text = "")
Parameter Description
$subject Email subject
$body HTML email body
$to Email address to send to (single address as a string or an array of email addresses)
$from_email From email address (optional, defaults to no-reply@domain.com where domain.com is the domain of the server/site)
$from_name From name (optional, defaults to BigTree CMS if from_email isn't set)
$reply_to Reply-to email address (optional)
$text Regular text body (optional)