compolomus/kmail

Light PHP mailer

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

This package is auto-updated.

Last update: 2024-12-20 02:38:44 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();