May 18, 2018

Adding email capability to Ghost

This assumes you've signed up for an account at Sendgrid and have a functioning ghost install under /var/www/ghost.

Edit the Ghost config

nano /var/www/ghost/config.production.json

Add the new sendgrid account

"mail": {
    "transport": "SMTP",
      "options": {
        "service": "Sendgrid",
           "auth": {
             "user": "apikey",
             "pass": "YOURSECRETAPITKEY"
                   }
                 }
  },

Restart Ghost

cd /var/www/ghost
ghost restart

Testing

Visting you ghost blog, under General hit the test email button.