PHP Class CampMail

Show file Open project: sourcefabric/newscoop Class Usage Examples

Public Methods

Method Description
MailMime ( $recipients, string $text = false, string $html = false, array $hdrs ) Send an mime mail possibly only text or text + html.
ValidateAddress ( string $p_email ) : boolean Validate the syntax of an email address

Method Details

MailMime() public static method

Send an mime mail possibly only text or text + html.
public static MailMime ( $recipients, string $text = false, string $html = false, array $hdrs )
$text string
$html string
$hdrs array

ValidateAddress() public static method

Validate the syntax of an email address
public static ValidateAddress ( string $p_email ) : boolean
$p_email string
return boolean