Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/progerxp/mimeil

A standalone class for completely customizable MIME-compliant message builder/sender. Includes Laravel bundle layer. Supports PHP 5.3+.
https://github.com/progerxp/mimeil

Last synced: about 2 months ago
JSON representation

A standalone class for completely customizable MIME-compliant message builder/sender. Includes Laravel bundle layer. Supports PHP 5.3+.

Awesome Lists containing this project

README

        

# MiMeil

**MiMeil** - flexible MIME message builder covering most useful specification features.

It has no dependencies and works out of the box with **PHP 5.3 and up** - simply include it and you're ready to go. **iconv** and **mbstring** extensions are recommended for certain features.

Check for last PHP 5.2-compatible version in the first revision of this repo.

**Unless you're using Laravel MiMeil is just a single file (`mimeil.php`).**

[ [Method reference](http://proger.i-forge.net/MiMeil) ]

## [Laravel bundle](http://bundles.laravel.com/bundle/mimeil)
```
php artisan bundle:install mimeil
```

After this:

* Add it to your `application/bundles.php`; if you use `'auto' => true` class aliases will be created automatically.
* Create `application/config/mimeil.php` (use `config-sample.php` as a template) to override default values used when building/sending an e-mail. Keys are names of instance properties of `MiMeil`.
* Use `LaMeil` class instead of `MiMeil` if you want to have a convenient Laravel-oriented layer that, for example, logs errors and uses your config files.