Using Mandrill's excellent email sending service with a self-hosted Ghost blog is really quite simple.
First, edit the config.js
file in the root of your Ghost folder. In the section under production
, you'll see the empty mail configuration:
mail: {},
Change it to this:
mail: {
transport: 'SMTP',
options: {
host: 'smtp.mandrillapp.com',
service: 'Mandrill',
port: 587,
auth: {
user: 'your mandril email',
pass: 'your mandril api key'
}
}
},
Now get your API key information from your Mandrill settings. You'll have to create a new API key if you haven't done so already.
Upload the new config to your server and don't forget to restart your Ghost app's service when finished.
service ghost restart