self hosted - settings for mandrill

hello,

I’m trying to setup e-mail to utilize smtp on my mandrill account.
Could someone please point me to the correct settings for utilizing mandrill?

If I use MAIL_DRIVER=mandrill I get the following error:
/ninja/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php [Line 89] => Server error response [url] https://mandrillapp.com/api/1.0/messages/send-raw.json [status code] 500 [reason phrase] Internal Server Error

If I use MAIL_DRIVER=smtp I get the following error:
/ninja/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/AuthHandler.php [Line 181] => Failed to authenticate on SMTP server with username “<REMOVED>” using 2 possible authenticators

My mandrill username and password (api key) are correct.

thanks,
marco

Hi Marco,

From the post below… can you check that you’re adding your Mandrill API key in config/services.php.

http://laravel.io/forum/06-26-2015-laravel-5-mail-does-not-work

thanks Hillel!

That was it :slight_smile:

when using MAIL_DRIVER=mandrill in .env
key needs to be in config/services.php

regards,
Marco