2017 © Pedro Peláez
 

yii2-extension yii2-mailgun-mailer

Mailgun Mailer for Yii 2 framework.

image

xutl/yii2-mailgun-mailer

Mailgun Mailer for Yii 2 framework.

  • Monday, August 7, 2017
  • by xutl
  • Repository
  • 0 Watchers
  • 0 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 19 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Yii2 Mailgun Mailer

Mailgun mailer for Yii 2 framework., (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist xutl/yii2-mailgun-mailer

or add, (*4)

"xutl/yii2-mailgun-mailer": "~1.0.0"

to the require section of your composer.json file., (*5)

Usage

Once the extension is installed, simply use it in your code by :, (*6)

<?php
  'components' => [
      'mailer' => [
          'class' => 'xutl\mailgunmailer\Mailer',
          'domain' => 'example.com',
          'key' => 'key-somekey',
          'tags' => ['yii'],
          'enableTracking' => false,
      ],
  ],
?>
<?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();
?>

Thx

https://github.com/mailgun/mailgun-php https://github.com/katanyoo/yii2-mailgun-mailer, (*7)

The Versions

07/08 2017

dev-master

9999999-dev

Mailgun Mailer for Yii 2 framework.

  Sources   Download

BSD-3-Clause

The Requires

 

by Katanyoo Ubalee
by Avatar xutl

extension yii2 mailer mailgun

02/03 2017

1.0.0

1.0.0.0

Mailgun Mailer for Yii 2 framework.

  Sources   Download

BSD-3-Clause

The Requires

 

by Katanyoo Ubalee
by Avatar xutl

extension yii2 mailer mailgun