PHP code example of tmukherjee13 / yii2-mailer
1. Go to this page and download the library: Download tmukherjee13/yii2-mailer 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/ */
tmukherjee13 / yii2-mailer example snippets
$emailReset = new \tmukherjee13\mailer\ResetPassword(array(
'user' => Yii::$app->user->identity,
'hash' => 'asdfas56ads1f1asdfdf',
/* other dynamic data for email */
));
$emailReset->send();
php composer.phar