PHPackages                             terabytesoftw/helper-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. terabytesoftw/helper-mailer

ActiveYii2-extension[Mail &amp; Notifications](/categories/mail)

terabytesoftw/helper-mailer
===========================

Component Mailer User Core

0137PHP

Since Jul 30Pushed 6y agoCompare

[ Source](https://github.com/terabytesoftw/helper-mailer)[ Packagist](https://packagist.org/packages/terabytesoftw/helper-mailer)[ RSS](/packages/terabytesoftw-helper-mailer/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

 [ ![](https://camo.githubusercontent.com/e14db5cfc1aafaa1e6231eedfaf4a0d2511ff6a95cb0a234dde17c46430b2f31/68747470733a2f2f6c68332e676f6f676c6575736572636f6e74656e742e636f6d2f443954467731463664645075686544635f74704e707454647654672d464e4e706a4c53424e3134583653632d334a44694f7866453637724568344f5a6679676f6e7831744b656932623244454f48444c6a46365433786c38652d726b4545505a6547714c545763535f76326342526c796f3076635a4c44484735697653444749574373656e626f6c3d7732343030) ](https://github.com/terabytesoftw/helper-mailer)

Helper Mailer.
==============

[](#helper-mailer)

 [ ![Unstable Version](https://camo.githubusercontent.com/7984b491da7bd02fc1f30d24a4700fed522f19243cb73368f85f21c185ef434d/68747470733a2f2f706f7365722e707567782e6f72672f7465726162797465736f6674772f68656c7065722d6d61696c65722f762f756e737461626c652e737667) ](https://packagist.org/packages/terabytesoftw/helper-mailer) [ ![Build Status](https://camo.githubusercontent.com/bb69c0a8c8d3594c9baa8680bf1f6e4863476a8bf8abde9eed474fdf43ddaf67/68747470733a2f2f7472617669732d63692e6f72672f7465726162797465736f6674772f68656c7065722d6d61696c65722e7376673f6272616e63683d6d6173746572) ](https://travis-ci.org/terabytesoftw/helper-mailer) [ ![Build Status](https://camo.githubusercontent.com/73ca746d9e6ab3dc7c4f4606ee517445bfb129a3020fe86c1f8aa490296ed0ba/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7465726162797465736f6674772f68656c7065722d6d61696c65722f6261646765732f6275696c642e706e673f623d6d6173746572) ](https://scrutinizer-ci.com/g/terabytesoftw/helper-mailer/) [ ![Build Status](https://camo.githubusercontent.com/09d0150c01d01e2581ef1f351c81e9db7e02679ff482553abfbc65d15517e918/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7465726162797465736f6674772f68656c7065722d6d61696c65722f6261646765732f636f7665726167652e706e673f623d6d6173746572) ](https://scrutinizer-ci.com/g/terabytesoftw/helper-mailer/) [ ![Code Quality](https://camo.githubusercontent.com/a452a4f1ed305cb9e74e7428ab43ef3a12c37a152893c262d4ba6229596fa03e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7465726162797465736f6674772f68656c7065722d6d61696c65722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572) ](https://scrutinizer-ci.com/g/terabytesoftw/helper-mailer/?branch=master) [ ![Code Intelligence Status](https://camo.githubusercontent.com/e104e550ab94d0504b0b526b518164328f32b9b0daa651f7ba6992eb32fe740c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7465726162797465736f6674772f68656c7065722d6d61696c65722f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572) ](https://scrutinizer-ci.com/code-intelligence) [ ![Maintainability](https://camo.githubusercontent.com/ed82de3a82cb2bff0bdbdc6d9c6862f14873f358806a481b3ce876e587ccc367/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f39626265363562366664613161626437346332632f6d61696e7461696e6162696c697479) ](https://codeclimate.com/github/terabytesoftw/helper-mailer/maintainability)

### **DIRECTORY STRUCTURE:**

[](#directory-structure)

```
config/             contains application configurations
src/                contains source files
tests/              contains tests codeception for the web application
vendor/             contains dependent 3rd-party packages

```

### **REQUIREMENTS:**

[](#requirements)

- The minimum requirement by this project template that your Web server supports:
    - PHP 7.2 or higher.
    - [Composer Config Plugin](https://github.com/hiqdev/composer-config-plugin)

### **INSTALLATION:**

[](#installation)

If you do not have [Composer](http://getcomposer.org/ "Composer"), you may install it by following the instructions at [getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-nix "getcomposer.org").

You can then install this extension using the following command composer:

```
composer require terabytesoftw/helper-mailer '^1.0@dev'

```

or add composer.json:

```
"terabytesoftw/helper-mailer":"^1.0@dev"

```

### **USAGE:**

[](#usage)

```
// config params defaults config/maileruser.php
// note: if you change one of the default values you must execute: composer du, from the command line.

    // config default
    'helper.mailer.usefiletransport' => true,
    'helper.mailer.sender' => 'no-reply@helpermailer.com', // from->email
    'helper.mailer.sender.name' => 'helper mailer example', // from->name
    'helper.mailer.swiftmailer.logging' => false,
    'helper.mailer.viewpath' => '@root/tests/_data/views', // viewPath

// Simple email:
