PHPackages                             phpmailerns/phpmailerns - 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. phpmailerns/phpmailerns

Abandoned → [swiftmailer/swiftmailer](/?search=swiftmailer%2Fswiftmailer)Library[Mail &amp; Notifications](/categories/mail)

phpmailerns/phpmailerns
=======================

PHPMailerNS is a name spaced fork of 'PHPMailer' the full-featured email creation and transfer class for PHP

v1.0(11y ago)1516LGPL-2.1PHPPHP &gt;=5.3.0

Since May 6Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Seanmcn/PHPMailerNS)[ Packagist](https://packagist.org/packages/phpmailerns/phpmailerns)[ RSS](/packages/phpmailerns-phpmailerns/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Disclaimer
==========

[](#disclaimer)

You should really probably be using SwiftMailer - \[ [Github](https://github.com/swiftmailer/swiftmailer) | [Packagist](https://packagist.org/packages/swiftmailer/swiftmailer) \] instead of this.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#you-should-really-probably-be-using-swiftmailer----github--packagist--instead-of-this)

[![PHPMailer](https://camo.githubusercontent.com/9cb2da7fa70cc106ef21262c050af43fe6d16d9a3021418be24513c2fe0d7b00/68747470733a2f2f7261772e6769746875622e636f6d2f5048504d61696c65722f5048504d61696c65722f6d61737465722f6578616d706c65732f696d616765732f7068706d61696c65722e706e67)](https://camo.githubusercontent.com/9cb2da7fa70cc106ef21262c050af43fe6d16d9a3021418be24513c2fe0d7b00/68747470733a2f2f7261772e6769746875622e636f6d2f5048504d61696c65722f5048504d61696c65722f6d61737465722f6578616d706c65732f696d616765732f7068706d61696c65722e706e67)

PHPMailerNS - The namespaced "[PHPMailer](https://github.com/PHPMailer/)"
=========================================================================

[](#phpmailerns---the-namespaced-phpmailer)

[PHPMailerNS](https://github.com/Seanmcn/PHPMailerNS) Class Features
--------------------------------------------------------------------

[](#phpmailerns-class-features)

- Namespace Support
- Compatible with PHP 5.3 and later

[PHPMailer](https://github.com/PHPMailer/) Class Features
---------------------------------------------------------

[](#phpmailer-class-features)

- Probably the world's most popular code for sending email from PHP!
- Used by many open-source projects: Wordpress, Drupal, 1CRM, SugarCRM, Yii, Joomla! and many more
- Integrated SMTP support - send without a local mail server
- Send emails with multiple TOs, CCs, BCCs and REPLY-TOs
- Multipart/alternative emails for mail clients that do not read HTML email
- Support for UTF-8 content and 8bit, base64, binary, and quoted-printable encodings
- SMTP authentication with LOGIN, PLAIN, NTLM and CRAM-MD5 mechanisms over SSL and TLS transports
- Error messages in 47 languages!
- DKIM and S/MIME signing support
- Compatible with PHP 5.0 and later
- Much more!

License
-------

[](#license)

This software is distributed under the [LGPL 2.1](http://www.gnu.org/licenses/lgpl-2.1.html) license. Please read LICENSE for information on the software availability and distribution.

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

[](#installation--loading)

PHPMailerNS is available via [Composer/Packagist](https://packagist.org/packages/phpmailerNS/phpmailerNS) (using semantic versioning), so just add this line to your `composer.json` file:

```
"phpmailerns/phpmailerns": "~1.5"

```

PHPMailerNS only supports PHP 5.3 and up.

A Simple Example
----------------

[](#a-simple-example)

```
