Config Ghost blog email with SendGrid

Config Ghost blog email with SendGrid

In your config.production.json add following entry

	"mail": {
		"from": "info@transang.me",
		"transport": "SMTP",
		"options": {
			"port": 587,
			"host": "smtp.sendgrid.net",
			"secureConnection": false,
			"auth": {
				"user": "apikey",
				"pass": "your sendgrid API key in plain text"
			}
		}
	}

Note that secureConnection must be false or ignored (it is false by default)

Additional information for SendGrid

  • SSL type: STARTTLS (chosen from STARTTLS, SSL/TLS, None)
  • Authentication method: Normal Password (chosen from No authentication, Normal password, Encrypted password, Kerberos / GSSAPI, NTLM, OAuth2)
Buy Me A Coffee