Ghost SMTP Integration Guide

Guide to integrate Mailazy with your Ghost system


Prerequisites

You need to complete these given prerequisites, you can skip the step if you have already completed.

  1. Sign up for a Mailazy account.
  2. Complete Domain Authentication.
  3. Generate the Mailazy Access Key

Integrate Mailazy with Ghost

Setting up the server

  1. SSH to your virtual machine instance
  2. Navigate to the ghost configuration file by typing in cd /var/www/ghost
  3. Open up the config file by typing vi config.production.json to open it with vim.
  4. Next, change the setting under mail configuration.
  5. Paste the api key and api secret from Mailazy portal.
  6. You are done! You can now send invites to fellow contributors.
"mail": {
  "transport": "SMTP",
  "options": {
    "service": "Mailazy",
    "host": "smtp.mailazy.com",
    "port": "587",
    "secureConnection": true,
    "auth": {
      "user": "Mailazy Access Key",
      "pass": "Mailazy Access Secret"
    }
  }
}

Test and verify

  1. Inside ghost admin panel navigate to settings->labs.
  2. At the bottom of the page there is a button for sending a test email.