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