Giter Site home page Giter Site logo

yii2-mailgun-mailer's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

yii2-mailgun-mailer's Issues

Does 'useFileTransport' work correctly?

I've used the 'useFileTransport' setting, but i receive empty mails permanently. What do you mean about this? (When i turning off the 'useFileTransport', my mailgun account is working fine)

PHP Fatal error: Uncaught Error: Call to a member function run() on null in /vendor/puli/composer-plugin/src/PuliPluginImpl.php:704

Please help me!

Using version dev-master for yarcode/yii2-mailgun-mailer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
Warning: Plugin initialization failed: The "puli"/"puli.phar" command could not be found.
PHP Fatal error: Uncaught Error: Call to a member function run() on null in /vendor/puli/composer-plugin/src/PuliPluginImpl.php:704

Mailgun changed their endpoins

Default installation doesnt work with new accounts (which use EU mailgun servers).
New EU endpoint: api.eu.mailgun.net

Message.setReplyTo() doesn't validate emails as arrays

Please, notice that Yii interface for setReplyTo method DOES accept emails in the form [$email => $name] but Mailgun class does not.
So it requires a validation in src/Message.php line 221 for cases when variable $replyTo is an array.

implode(): Invalid arguments passed

The code is

                $message = Yii::$app->mailer->compose('register', [
                'account' => $model,
                 'password' => $acc_password
                ])
                  ->setSubject('registration info')
                  ->setFrom(Yii::$app->params['noreplyEmail'])
                  ->setTo($model->email);

                Yii::$app->mailer->send($message);

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.