amazon-web-servicesamazon-sesghost-blog

How can I use Amazon SES with Ghost?


I saw at https://ghost.org/docs/config/#mail that SES is allowed.

But I edited my config.production.json and ran ghost restart, but Ghost still says:

Set up Mailgun to start sending newsletters!

screenshot

The config I used was:

"mail": {
    "from": "My Name <example@example.com>",
    "transport": "SMTP",
    "options": {
      "host": "email-smtp.us-east-1.amazonaws.com",
      "port": 465,
      "service": "SES",
      "auth": {
        "user": "asdfadsffdsf",
        "pass": "asdfasdfadfs"
      }
    }
  },

I got the SMTP-ACCESS-KEY-ID and SES-SMTP-SECRET-ACCESS-KEY from https://us-east-1.console.aws.amazon.com/ses/home?region=us-east-1#/smtp

What did I do wrong?


Solution

  • I also had this issue.

    I fixed it by using the below config for Ghost.

    "mail": {
          "transport": "SMTP",
          "options": {
              "host": "email-smtp.us-east-1.amazonaws.com",
              "port": 2465,
              "secure": true,
              "service": "SES",
              "from": "'Name' email",
              "auth": {
                  "user": "access-key",
                  "pass": "secret-access-key"
              }
          }
      }
    

    Notice some changes from your config: