Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
PHP
Branch: master

bump version

latest commit 0f77e39ee1
Shane Shipston authored
Failed to load latest commit information.
README.md Initial Release
email.class.php bump version

README.md

Email Management

Send emails easier

Requirements

  • PHP 5+

Examples

Send an Email

$email = new Email();
$email->add_recipient('email@domain.com', 'Recipient');
$email->set_subject('Email Demo');
$email->set_body('Demo Email');
$email->send();

With an attachment

$email = new Email();
$email->add_recipient('email@domain.com', 'Recipient');
$email->set_subject('Email Demo');
$email->set_body('Demo Email');
$email->add_attachment('file.zip');
$email->send();
Something went wrong with that request. Please try again.