Is it possible to create a "development" API key for Mandrill?

Chris B picture Chris B · Apr 2, 2013 · Viewed 8k times · Source

I'm using Mandrill to send emails from my Rails 3 application. In production, I use the API key I set up in their admin console. To prevent dev and test SNAFUs that might email all our users, I've put garbage keys in the development and test environment config and I only put the real key in the production config. Mandrill allows you to create multiple API keys. Does anyone know if there's a way to configure Mandrill such that an API call to send an email using the development or test key will fail unless a certain precondition is met (e.g. email domain matches mycompany.com)?

Answer

Alexandru R picture Alexandru R · Jul 5, 2013

Mandril now have added test API keys. Read More on their site