2017 © Pedro Peláez
 

yii2-extension yii2-mailgun-mailer

Mailgun Mailer for Yii 2 framework.

image

e96/yii2-mailgun-mailer

Mailgun Mailer for Yii 2 framework.

  • Wednesday, January 11, 2017
  • by bazilio91
  • Repository
  • 15 Watchers
  • 3 Stars
  • 6,593 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 19 Forks
  • 1 Open issues
  • 8 Versions
  • 3 % 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 e96/yii2-mailgun-mailer "*"

or add, (*4)

"e96/yii2-mailgun-mailer": "*"

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

Usage

First, update your mailer config like so:, (*6)

'mailer' => [
  'class' => 'e96\mailgunmailer\Mailer',
  'domain' => 'domain.com',
  'key' => 'api-key',
  'tags' => ['yii'],
  'clickTracking' => false,
  'opensTracking' => false
],

Yii's mailer will now use the Mailgun configuration, so send mail like normal:, (*7)

php <?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(); ?>, (*8)

The Versions

11/01 2017

dev-master

9999999-dev

Mailgun Mailer for Yii 2 framework.

  Sources   Download

BSD-3-Clause

The Requires

 

by Katanyoo Ubalee
by Sergey Elkin

extension yii2 mailer mailgun

11/01 2017

1.5

1.5.0.0

Mailgun Mailer for Yii 2 framework.

  Sources   Download

BSD-3-Clause

The Requires

 

by Katanyoo Ubalee
by Sergey Elkin

extension yii2 mailer mailgun

21/07 2015

1.4.1

1.4.1.0

Mailgun Mailer for Yii 2 framework.

  Sources   Download

BSD-3-Clause

The Requires

 

by Katanyoo Ubalee
by Sergey Elkin

extension yii2 mailer mailgun

04/06 2015

1.4

1.4.0.0

Mailgun Mailer for Yii 2 framework.

  Sources   Download

BSD-3-Clause

The Requires

 

by Katanyoo Ubalee

extension yii2 mailer mailgun

02/06 2015

1.3

1.3.0.0

Mailgun Mailer for Yii 2 framework.

  Sources   Download

BSD-3-Clause

The Requires

 

by Katanyoo Ubalee

extension yii2 mailer mailgun

02/06 2015

1.2

1.2.0.0

Mailgun Mailer for Yii 2 framework.

  Sources   Download

BSD-3-Clause

The Requires

 

by Katanyoo Ubalee

extension yii2 mailer mailgun

02/06 2015

1.1

1.1.0.0

Mailgun Mailer for Yii 2 framework.

  Sources   Download

BSD-3-Clause

The Requires

 

by Katanyoo Ubalee

extension yii2 mailer mailgun

01/06 2015

1.0

1.0.0.0

Mailgun Mailer for Yii 2 framework.

  Sources   Download

BSD-3-Clause

The Requires

 

by Katanyoo Ubalee

extension yii2 mailer mailgun