o2system/email

PHP Email Library

Installs: 1 579

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Type:package

v2.0.20 2020-08-23 07:50 UTC

This package is auto-updated.

Last update: 2024-11-25 22:36:04 UTC


README

alt text

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

Packagist: https://packagist.org/packages/o2system/email

Usage

use O2System\Email;

// Create new email message
$message = new Email\Message();
$message->from( 'o2system.framework@gmail.com', 'O2System Framework' );
$message->subject( 'Testing email message' );
$message->body('This is testing email message body content.');
$message->to('mail@steevenz.com', '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 contact@o2system.id

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