PHPackages                             rawphp/raw-mail - 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. rawphp/raw-mail

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

rawphp/raw-mail
===============

RawMail is a wrapper around PHPMailer and is used by RawPHP framework and other applications.

1339[1 issues](https://github.com/rawphp/RawMail/issues)PHP

Since Dec 16Pushed 11y ago2 watchersCompare

[ Source](https://github.com/rawphp/RawMail)[ Packagist](https://packagist.org/packages/rawphp/raw-mail)[ RSS](/packages/rawphp-raw-mail/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

RawMail - A Simple Wrapper around PHPMailer
===========================================

[](#rawmail---a-simple-wrapper-around-phpmailer)

[![Build Status](https://camo.githubusercontent.com/70427f7c958b325403f7c4f8550ca362c92d0694c1619cd1aca6e6b0fce57a4f/68747470733a2f2f7472617669732d63692e6f72672f7261777068702f5261774d61696c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rawphp/RawMail) [![Coverage Status](https://camo.githubusercontent.com/81cf37005c6b11c1a58bf82dd43ceb4a339da71efee4198b071afd6ddaa0efaa/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f7261777068702f5261774d61696c2f62616467652e706e67)](https://coveralls.io/r/rawphp/RawMail)[![Latest Stable Version](https://camo.githubusercontent.com/08cf4615fa9b11441192624046c5a9fb9d0ed5bd18e6829751a9998949dc63c3/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d6d61696c2f762f737461626c652e737667)](https://packagist.org/packages/rawphp/raw-mail) [![Total Downloads](https://camo.githubusercontent.com/f554107f718f2a7ee121c2a746c519ea70c1fb34e3533479f3c3f1f5e3b251b0/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d6d61696c2f646f776e6c6f6164732e737667)](https://packagist.org/packages/rawphp/raw-mail)[![Latest Unstable Version](https://camo.githubusercontent.com/37f526c54fe3e005f8997799d9d3fdfa066420dae4ee91cbb981565e0de27519/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d6d61696c2f762f756e737461626c652e737667)](https://packagist.org/packages/rawphp/raw-mail) [![License](https://camo.githubusercontent.com/ff37bb28b24d947902decd10bb27da32ddb88ae98291df3a392e88d920c684b7/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d6d61696c2f6c6963656e73652e737667)](https://packagist.org/packages/rawphp/raw-mail)

[![SensioLabsInsight](https://camo.githubusercontent.com/8a66f814227741aec5240ae82ceb1008beea0f57ff168277125f993c5572e0e8/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f36386465613461642d343362392d346134632d623932392d3737353735613230363166642f6269672e706e67)](https://insight.sensiolabs.com/projects/68dea4ad-43b9-4a4c-b929-77575a2061fd)

Package Features
----------------

[](#package-features)

- Simple to use mailer
- SMTP support
- Supports attachments

Installation
------------

[](#installation)

### Composer

[](#composer)

RawMail is available via [Composer/Packagist](https://packagist.org/packages/rawphp/raw-mail).

Add `"rawphp/raw-mail": "0.*@dev"` to the require block in your composer.json and then run `composer install`.

```
{
        "require": {
            "rawphp/raw-mail": "0.*@dev"
        }
}
```

You can also simply run the following from the command line:

```
composer require rawphp/raw-mail "0.*@dev"
```

### Tarball

[](#tarball)

Alternatively, just copy the contents of the RawMail folder into somewhere that's in your PHP `include_path` setting. If you don't speak git or just want a tarball, click the 'zip' button at the top of the page in GitHub.

Basic Usage
-----------

[](#basic-usage)

```
