dmBridge PHP API
DMMailer Class Reference

Emails DMMailable objects. More...

Public Member Functions

Static Public Member Functions


Detailed Description

Emails DMMailable objects.

Author:
Alex Dolski <alex.dolski@unlv.edu> http://www.opensource.org/licenses/mit-license.php

Definition at line 14 of file DMMailer.php.


Member Function Documentation

static DMMailer::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 25 of file DMMailer.php.

Referenced by DMComment::setEmail().

DMMailer::send ( DMMailable mailable)
Parameters:
DMMailablemailable
Returns:
Return value of the PHP mail() function
Exceptions:
DMInvalidEmailException
Since:
2.0

Definition at line 110 of file DMMailer.php.

Referenced by sendNotificationOfNewComment().

DMMailer::sendNotificationOfNewComment ( DMComment comment)
Parameters:
DMCommentcomment
Returns:
DMEmailMessage

Definition at line 141 of file DMMailer.php.


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