Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

O2System Framework

Scrutinizer Code Quality Build Status Latest Stable Version Total Downloads License

O2System Email

O2System Email is a PHP Email Protocol Sender Library which is build for working more powerful with O2System Framework, but also can be used for integrated with others as standalone version with limited features.

Composer Installation

The best way to install O2System Email is to use Composer

composer require o2system/email



use O2System\Email;

// Create new email message
$message = new Email\Message();
$message->from( '', 'O2System Framework' );
$message->subject( 'Testing email message' );
$message->body('This is testing email message body content.');
$message->to('', 'Steeven Andrian Salim');
$message->priority( Email\Message::PRIORITY_HIGHEST );

// Create new email spool
$spool = new Email\Spool([
    'protocol' => 'mail'

$spool->send( $message );

Documentation is available on this repository wiki or visit this repository github page.

Ideas and Suggestions

Please kindly mail us at

Bugs and Issues

Please kindly submit your issues at Github so we can track all the issues along development and send a pull request to this repository.

System Requirements

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.