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

## EMail

Description
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

Lightweight class for sending an e-mail.

Located in /EMail.php (line 16)

Method Summary
EMail __construct ([string $subject = ""], [string $to = ""])
string AddBcc (string $recipient)
string AddCc (string $recipient)
string AddErrorsTo (string $recipient)
string AddReplyTo (string $recipient)
string AddTo (string $recipient)
void Pretend ([string $additional_headers = ""])
void PretendLog ([string $additional_headers = ""])
void Send ([string $additional_headers = ""])
string SetBody ( $body, string $recipient)
string SetFrom ( $sender, string $recipient)
string SetSender ( $sender, string $recipient)
string SetSubject ( $subject, string $recipient)
Methods
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
Constructor __construct (line 82)

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).

AddBcc (line 131)

Add another Bcc recipient to the email

- return: The new Bcc recipient list.

string AddBcc (string $recipient)

- string $recipient: The email address to append.

AddCc (line 122)

Add another Cc recipient to the email

- return: The new Cc recipient list.

string AddCc (string $recipient)

- string $recipient: The email address to append.

AddErrorsTo (line 149)

Add another Error recipient to the email

- return: The new Error recipient list.

string AddErrorsTo (string $recipient)

- string $recipient: The email address to append.

AddReplyTo (line 140)

Add another Reply-to address to the email

- return: The new Reply-to list.

string AddReplyTo (string $recipient)

- string $recipient: The email address to append.

AddTo (line 113)

Add another recipient to the email

- return: The new recipient list.

string AddTo (string $recipient)

- string $recipient: The email address to append.

Pretend (line 238)

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.

PretendLog (line 219)

Don't actually send the email, just log it.

void PretendLog ([string $additional_headers = ""])

- string $additional_headers: Any additional headers that are needed.

Send (line 202)

Actually send the email

void Send ([string $additional_headers = ""])

- string $additional_headers: Any additional headers that are needed.

SetBody (line 192)

Set the body of the e-mail.

- return: The new body of the e-mail.

string SetBody ( $body, string $recipient)

- string $recipient: The email address to append.
- $body

SetFrom (line 159)

Set the visible From address for the e-mail.

- return: The new From address

string SetFrom ( $sender, string $recipient)

- string $recipient: The visible From address
- $sender

SetSender (line 170)

Set the envelope sender address for the e-mail.

- return: The new envelope sender address.

string SetSender ( $sender, string $recipient)

- string $recipient: The e-mail address for the sender
- $sender

SetSubject (line 181)

Set the subject line for the email

- return: The new subject line.

string SetSubject ( $subject, string $recipient)

- string $recipient: The new subject line.
- $subject

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

Documentation generated on Wed, 04 Jul 2012 07:06:14 +0000 by phpDocumentor 1.4.3