How to enable SMTP email support for Ghost to invite authors [Solved]

  • Create account with SendGrid and get an API key that has access to send email
  • In your .env file, declare a variable SENDGRID with the above API key as value
  • In, use this command:
jq ".url=\"https://$\" | .mail={\"from\":\"\", \"transport\":\"SMTP\", \"options\": {\"host\": \"\",\"port\": 587, \"auth\": {\"user\":\"apikey\",\"pass\":\"$SENDGRID\"}}}" config.development.json.base > config.development.json

If you found this helpful, please thank me on Glitch (so that I can start using custom domain with it):