Strict Standards: Only variables should be passed by reference in /usr/share/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty_Compiler.class.php on line 712
Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/share/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty_Compiler.class.php on line 370
Create the e-mail, optionally assigning the subject and primary recipient.
EMail
__construct
([string $subject = ""], [string $to = ""])
-
string
$subject: The subject line of the email.
-
string
$to: A comma-separated list of addresses for the primary recipient(s).
Add another Bcc recipient to the email
string
AddBcc
(string $recipient)
-
string
$recipient: The email address to append.
Add another Cc recipient to the email
string
AddCc
(string $recipient)
-
string
$recipient: The email address to append.
Add another Error recipient to the email
string
AddErrorsTo
(string $recipient)
-
string
$recipient: The email address to append.
Add another Reply-to address to the email
string
AddReplyTo
(string $recipient)
-
string
$recipient: The email address to append.
Add another recipient to the email
string
AddTo
(string $recipient)
-
string
$recipient: The email address to append.
Don't actually send the email, just output it directly in the stream(!). We use this method when we're doing regression testing.
void
Pretend
([string $additional_headers = ""])
-
string
$additional_headers: Any additional headers that are needed.
Don't actually send the email, just log it.
void
PretendLog
([string $additional_headers = ""])
-
string
$additional_headers: Any additional headers that are needed.
Actually send the email
void
Send
([string $additional_headers = ""])
-
string
$additional_headers: Any additional headers that are needed.
Set the body of the e-mail.
string
SetBody
( $body, string $recipient)
-
string
$recipient: The email address to append.
-
$body
Set the visible From address for the e-mail.
string
SetFrom
( $sender, string $recipient)
-
string
$recipient: The visible From address
-
$sender
Set the envelope sender address for the e-mail.
string
SetSender
( $sender, string $recipient)
-
string
$recipient: The e-mail address for the sender
-
$sender
Set the subject line for the email
string
SetSubject
( $subject, string $recipient)
-
string
$recipient: The new subject line.
-
$subject