Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antoine-briand/d25bafd914be06cd847bda9ba6fc8c6d to your computer and use it in GitHub Desktop.
Save antoine-briand/d25bafd914be06cd847bda9ba6fc8c6d to your computer and use it in GitHub Desktop.
I had some trouble setting Mailgun for Ghost (Blog) with a server hosted on google cloud (compute engine). In fact it's really easy. Just replace the mail configuration in config.js with this gist and it's done !
mail: {
transport: 'SMTP',
options: {
service: 'Mailgun',
port: 2525,
auth: {
user: 'postmaster@domain.example',
pass: 'myMailGunPassword'
}
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment