I'm implementing a component for sending emails through Mandrill. These are my steps :
1. add "mandrill/mandrill": "dev-master" to composer.json
2. run php composer.phar update --prefer-dist
3. 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
4. change the class of the 'mail' config in main.php
But when I call \Yii::$app->mail, it show error :
Class 'mandrill\MandrillMailer' not found
Any Ideas what I'm wrong ??