constructor
FormMailer
FormMailer
()
Description:
Creates a new instance of this class.
compare with another object
string
equals
(
object $anotherObject
)
List of parameters:
Name |
Type |
Description |
$anotherObject |
object |
|
Description:
Returns bool(true) if this object and $anotherObject are equal and bool(false) otherwise.
Two instances are considered equal if and only if they are both objects of the same class and their attributes are equal.
Redefinition of: Object::equals()
create an automatically formated e.mail from an array of form data
bool
mail
(
string $recipient, string $subject, array &$formdata
)
List of parameters:
Name |
Type |
Description |
$recipient |
string |
mail address |
$subject |
string |
subject of the mail |
&$formdata |
array |
form-data submitted by the user |
Description:
Returns bool(true) on success and bool(false) on error.
send an e-mail
bool
send
(
string $recipient
)
List of parameters:
Name |
Type |
Description |
$recipient |
string |
mail address |
Description:
Sends the current contents to $recipient, where $recipient should be a valid mail address.
Returns bool(true) on success or bool(false) on error.
inherited from base classes
Inherited From Object