PHPDevShell 3.1.3-Stable
PHP OOP RAD Development Framework
mailer Class Reference
Inheritance diagram for mailer:
PHPDS_dependant

Public Member Functions

 construct ()
 DefaultSettings ()
 replaceAccents ($string)
 sendmail ($to, $subject, $message, $from=null, $headers=null, $cc=null, $bcc=null, $attachment=null, $text_only_message=null, $content_type=null, $email_priority=null)
 ClearSend ()
 validate ($email_string)

Data Fields

 $mailsetting
 $massmailLimit

Detailed Description

Contains methods to handle emails appropriate. PHPMailer could also be used.

Author:
Jason Schoeman

Member Function Documentation

ClearSend ( )

Clears all stored objects to prepare for new email send.

construct ( )

Construct.

Parameters:
<type>$dependance

Reimplemented from PHPDS_dependant.

DefaultSettings ( )

Loads all default PHPDevShell mail settings as defined in general settings for easy and quick sending.

replaceAccents ( string)

Replaces accents with plain text for a given string.

Parameters:
string$string
sendmail ( to,
subject,
message,
from = null,
headers = null,
cc = null,
bcc = null,
attachment = null,
text_only_message = null,
content_type = null,
email_priority = null 
)

Simple linear email sending method. Use sendnow to send more advanced emails.

Parameters:
string$to
string$subject
string$message
string$from
string$headers
string$cc
string$bcc
string$attachment
string$text_only_message
string$content_type
integer$email_priority
Returns:
boolean
validate ( email_string)

Validates email address.

Parameters:
stringEmail address.
Returns:
boolean
Author:
Jason Schoeman
Since:
2007/01/03

Field Documentation

$mailsetting
$massmailLimit

The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables Enumerations