Send text e-mails. More...
Public Attributes | |
const | LB = "------------------------------------------------------\n" |
line break |
Additional Inherited Members | |
![]() | |
__construct ($arguments=array()) | |
Class constructor. | |
add_recipient ($email, $name='') | |
Add a recipient. | |
remove_recipient ($email) | |
Remove a recipient. | |
add_header ($key, $value) | |
Add a header. | |
remove_header ($key) | |
Remove a header. | |
send () | |
Send the email. | |
![]() | |
__call ($function, $params) | |
The 'magic' call method will get/set for us invoked when the interpreter can not find a method the user is asking for. | |
set_parameters ($arguments) | |
Set variables from an array to member fields requires $this->optional_arguments or $this->required_arguments to have been set by the subclass. | |
![]() | |
$to = '' | |
Whom to send it to, e.g. dave@google.com, tim@yahoo.com <Tim Stubbs> | |
$recipients = array() | |
Array email => name pairs, e.g. array('geoffrey@humphriesenterprises.com'=>'Geoffrey Humphries', ...) | |
$from_email = '' | |
From e-mail. | |
$from_name = '' | |
From name. | |
$subject = '' | |
Subject. | |
$message = '' | |
Message. | |
$headers = array() | |
Additional headers, e.g. array('from'=>'rachel@hotmail.com');. | |
$optional_arguments = array('to', 'from', 'from_email', 'from_name', 'subject', 'message', 'headers') | |
Array of variables that can be set in the constructor. | |
![]() | |
$required_arguments = array() | |
Array of options that need to be set to variables. |
Send text e-mails.
Extends Abstract_Email.