dev-master
9999999-devMailgun Mailer for Yii 2 framework.
BSD-3-Clause
The Requires
by Katanyoo Ubalee
extension yii2 mailer mailgun
Mailgun Mailer for Yii 2 framework.
Mailgun mailer for Yii 2 framework., (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist katanyoo/yii2-mailgun-mailer "*"
or add, (*4)
"katanyoo/yii2-mailgun-mailer": "*"
to the require section of your composer.json
file., (*5)
Once the extension is installed, simply use it in your code by :, (*6)
<?php Yii::$app->mailer->compose('<view_name>', <option>) ->setFrom("<from email>") ->setTo("<to email>") ->setSubject("<subject>") // ->setHtmlBody("<b> Hello User </b>") // ->setTextBody("Hello User") ->send(); ?>
Mailgun Mailer for Yii 2 framework.
BSD-3-Clause
extension yii2 mailer mailgun