PHP code example of thienhungho / yii2-mail

1. Go to this page and download the library: Download thienhungho/yii2-mail library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

thienhungho / yii2-mail example snippets


// Add namespace to console config:
'controllerMap' => [
    'migrate' => [
        'class' => 'yii\console\controllers\MigrateController',
        'migrationNamespaces' => [
            'thienhungho\Mail\migrations\namespaced',
        ],
    ],
],

...
'modules'          => [
    ...
    /**
     * Mail Transport Manage
     */
     'mail-transport-manage' => [
        'class' => 'thienhungho\Mail\modules\MailTransportManage\MailTransportManageModules',
     ],
    ...
],
...

php composer.phar