dmEmailMessage Class Reference

Inheritance diagram for dmEmailMessage:
dmModel idmEmailMessage

Public Member Functions

Static Public Member Functions


Detailed Description

Definition at line 15 of file dmEmailMessage.class.php.


Member Function Documentation

dmEmailMessage::getBody ( formatted = true  )  [final]
Parameters:
formatted Boolean
Returns:
string
Since:
0.1

Definition at line 24 of file dmEmailMessage.class.php.

Referenced by send().

dmEmailMessage::getFromEmail (  )  [final]
Returns:
string
Since:
0.1

Implements idmEmailMessage.

Definition at line 42 of file dmEmailMessage.class.php.

dmEmailMessage::getFromName (  )  [final]
Returns:
string
Since:
0.1

Implements idmEmailMessage.

Definition at line 64 of file dmEmailMessage.class.php.

dmEmailMessage::getRecipientEmail (  )  [final]
Returns:
string
Since:
0.1

Implements idmEmailMessage.

Definition at line 96 of file dmEmailMessage.class.php.

Referenced by send().

dmEmailMessage::getSenderEmail (  )  [final]
Returns:
string
Since:
0.1

Definition at line 119 of file dmEmailMessage.class.php.

dmEmailMessage::getSenderName (  )  [final]
Returns:
string
Since:
0.1

Definition at line 139 of file dmEmailMessage.class.php.

dmEmailMessage::getSubject (  )  [final]
Returns:
string
Since:
0.1

Implements idmEmailMessage.

Definition at line 159 of file dmEmailMessage.class.php.

Referenced by send().

static dmEmailMessage::isValidEmail ( email  )  [static]

Adapted from EmailAddressValidator::check_email_address() by Dave Child.

Supposedly RFC2822-compliant.

Parameters:
email 
Author:
Dave Child
See also:
http://code.google.com/p/php-email-address-validation/
Since:
0.1

Definition at line 195 of file dmEmailMessage.class.php.

Referenced by dmComment::setEmail().

dmEmailMessage::send (  ) 
Returns:
Return value of the PHP mail() function
Exceptions:
dmInvalidEmailException if recipient email address is missing
Since:
0.1

Implements idmEmailMessage.

Definition at line 178 of file dmEmailMessage.class.php.

dmEmailMessage::setBody ( text  )  [final]
Parameters:
text 
Since:
0.1

Implements idmEmailMessage.

Definition at line 33 of file dmEmailMessage.class.php.

dmEmailMessage::setFromEmail ( email  )  [final]
Parameters:
email 
Exceptions:
dmInvalidEmailException 
Since:
0.1

Implements idmEmailMessage.

Definition at line 52 of file dmEmailMessage.class.php.

dmEmailMessage::setFromName ( str  )  [final]
Parameters:
str 
Since:
0.1

Implements idmEmailMessage.

Definition at line 73 of file dmEmailMessage.class.php.

dmEmailMessage::setRecipientEmail ( email  )  [final]
Parameters:
email 
Exceptions:
dmInvalidEmailException 
Since:
0.1

Implements idmEmailMessage.

Definition at line 106 of file dmEmailMessage.class.php.

dmEmailMessage::setSenderEmail ( email  )  [final]
Parameters:
email 
Since:
0.1

Definition at line 128 of file dmEmailMessage.class.php.

dmEmailMessage::setSenderName ( name  )  [final]
Parameters:
name 
Since:
0.1

Definition at line 148 of file dmEmailMessage.class.php.

dmEmailMessage::setSubject ( str  )  [final]
Parameters:
str 
Since:
0.1

Implements idmEmailMessage.

Definition at line 168 of file dmEmailMessage.class.php.


The documentation for this class was generated from the following file:

Generated on Fri Aug 20 13:16:50 2010 for dmBridge PHP API by  doxygen 1.6.1