Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
email.class.php

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.