compolomus/kmail

Light PHP mailer

v1.3 2017-06-26 21:15 UTC

This package is auto-updated.

Last update: 2024-11-20 02:32:25 UTC


README

License

Scrutinizer Code Quality Code Climate SensioLabsInsight Downloads

Установка:

composer require compolomus/kmail

Применение:

use Compolomus\Kmail;

$test = new KMail('Test text');
$test
    ->addAdress('test@mail.ru')
    ->addAdress('test@gmail.com')
    ->addFile('class.php', file_get_contents(__FILE__))
    ->setSubject('Test mail')
    ->send();
$test->debug();