I’m implementing a component for sending emails through Mandrill. These are my steps :
add "mandrill/mandrill": "dev-master" to composer.json
run php composer.phar update --prefer-dist
Create a file in created folder by composer. In this case is vendor/mandrill/mandrill/MandrillMailer.php. And declare the namespace of this class is mandrill
change the class of the ‘mail’ config in main.php
But when I call \Yii::$app->mail, it show error :
Any Ideas what I’m wrong ??