Skip to content

Yii2 mailer implementation that send mails via mailgun.com

License

Notifications You must be signed in to change notification settings

alexeevdv/yii2-mailgun-mailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yii2-mailgun-mailer

Build Status codecov PHP 5.6 PHP 7.0 PHP 7.1 PHP 7.2

Yii2 mailer implementation that send mails via mailgun.com

Installation

The preferred way to install this extension is through composer.

Either run

$ php composer.phar require alexeevdv/yii2-mailgun-mailer "~1.0"

or add

"alexeevdv/yii2-mailgun-mailer": "~1.0"

to the require section of your composer.json file.

Configuration

Through application component

use alexeevdv\mailer\MailgunMailer;

//...
'components' => [
    //...
    'mailer' => [
        'class' => MailgunMailer::class,
        'apiKey' => 'YOUR_API_KEY',
        'domain' => 'your-domain.tld',
    ],
    //...
],
//...

About

Yii2 mailer implementation that send mails via mailgun.com

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages