PHPackages                             suny-upstate-cwt/phpmailerqol - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. suny-upstate-cwt/phpmailerqol

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

suny-upstate-cwt/phpmailerqol
=============================

PHPMailerQOL is a non-intrusive quality-of-life extension of PHPMailer.

v1.0.0(8mo ago)0240MITPHPPHP &gt;=5.6

Since Oct 22Pushed 8mo agoCompare

[ Source](https://github.com/suny-upstate-cwt/PHPMailerQOL)[ Packagist](https://packagist.org/packages/suny-upstate-cwt/phpmailerqol)[ RSS](/packages/suny-upstate-cwt-phpmailerqol/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

PHPMailerQOL – A non-intrusive quality-of-life extension of PHPMailer.
======================================================================

[](#phpmailerqol--a-non-intrusive-quality-of-life-extension-of-phpmailer)

Highlights
----------

[](#highlights)

- `setAddress()` methods
- `removeAddress()` methods
- Set a default email domain
- Support multi-address add/set/remove methods
- `addTO()` synonym for `addAddress()`
- Advanced address parsing
- Original PHPMailer behavior is not disturbed; just enhanced

License
-------

[](#license)

This software is distributed under the MIT License.

Installation &amp; loading
--------------------------

[](#installation--loading)

PHPMailerQOL is available on [Packagist](https://packagist.org/packages/suny-upstate-cwt/phpmailerqol) (using semantic versioning), and installation via [Composer](https://getcomposer.org) is the recommended way to install PHPMailerQOL. Just add this line to your `composer.json` file:

```
"suny-upstate-cwt/phpmailerqol": "^1.0.0"
```

or run

```
composer require suny-upstate-cwt/phpmailerqol
```

Note that the `vendor` folder and the `vendor/autoload.php` script are generated by Composer; they are not part of PHPMailerQOL.

Adding and setting addresses
----------------------------

[](#adding-and-setting-addresses)

```
