PHPackages                             ddrv/mailer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. ddrv/mailer

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

ddrv/mailer
===========

PHP library for sending email

v5.0.4(4y ago)2792[8 issues](https://github.com/ddrv/php-mailer/issues)MITPHPPHP &gt;=5.3

Since Aug 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/ddrv/php-mailer)[ Packagist](https://packagist.org/packages/ddrv/mailer)[ Fund](https://www.paypal.me/ddrv)[ RSS](/packages/ddrv-mailer/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (2)Versions (32)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/cf48a46fe01f7a7ded93ceca6c8b1f46674c655607326ff3c5fb290581524611/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646472762f6d61696c65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ddrv/mailer)[![Total Downloads](https://camo.githubusercontent.com/357ebdff9360bd4ad386e9239403a8b23f086a9235a6a02278bdc2bdb3953331/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646472762f6d61696c65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ddrv/mailer/stats)[![License](https://camo.githubusercontent.com/5b911872e7b31e6e06371a4e3685a70702309f1cdfd1104ec0c89db9fda921f0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f646472762f6d61696c65722e7376673f7374796c653d666c61742d737175617265)](https://github.com/ddrv/php-mailer/blob/master/LICENSE)[![PHP](https://camo.githubusercontent.com/915e5068541081c0a795f85a09f935d67fbcade6fad22af170ee9b2385d6c250/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f646472762f6d61696c65722e7376673f7374796c653d666c61742d737175617265)](https://php.net)

Mailer
======

[](#mailer)

PHP library for sending email.

Install
=======

[](#install)

1. Run in console:

    ```
    composer require ddrv/mailer:^5
    ```
2. Include autoload file

    ```
    require_once('vendor/autoload.php');
    ```

Usage
=====

[](#usage)

Creating transport instance
---------------------------

[](#creating-transport-instance)

### Sendmail

[](#sendmail)

```
