self hosted - settings for mandrill


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] [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.


Hi Marco,

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

thanks Hillel!

That was it :slight_smile:

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