Guides

Ghost

Send Ghost member sign-in links, staff invitations and password resets through Kula

A self-hosted Ghost sends member sign-up and sign-in links, staff invitations and password resets through the mail settings of its configuration. Point them at Kula and they leave from your domain.

Newsletters are not part of it: Ghost sends them through Mailgun, and the SMTP relay is for transactional emails only.

You need: a verified domain in your Kula space and a self-hosted Ghost with access to its server. Ghost(Pro) sites can't change these settings.

Create a sending key

In Kula, open Settings › API keys and create a key with sending access. Copy it: it is shown only once.

Edit the configuration

Open config.production.json in your Ghost folder and set mail:

config.production.json
"mail": {
  "from": "hello@acme.com",
  "transport": "SMTP",
  "options": {
    "host": "smtp.kulamail.com",
    "port": 465,
    "secure": true,
    "auth": {
      "user": "kula",
      "pass": "ml_your_api_key"
    }
  }
}

from must use your verified domain.

Restart Ghost

ghost restart

Send a test

Sign in to your site as a member with your own address, or invite a staff user. The email appears in Kula's Activity within seconds, marked Sent via SMTP.

Good to know

  • Before your account is approved, SMTP sends up to 50 emails a day to people outside your team: enough to try it, not to launch.
  • Behind a host that blocks port 465, use 2465.
  • An email refused by Kula is logged by Ghost with the reason. Response codes.

SMTP relay

Settings, limits and response codes

Campaigns

Send your newsletter from Kula