I need to connect Mailgun and Ghost to provide notifications and other stuff. I do everything regarding this article: Configuration - Adapt your publication to suit your needs
I’ve did steps on Mailgun side without any problems. Also here is a screenshot of my json config
I thought the problem is in empty form here, in admin panel of the Ghost (because in official Ghost guide there is no any info about this step).
I’ve added API key key (from Mailgun) and Mailgun domain, but still no progress.
Maybe the source of problem is in my Digital Ocean email setup? I did nothing at this side. Should i create at hosting some email entity?
Is it possible to use at the same time Mailgun and Gmail? As far as i need Mailgun only for sending notifications and Gmail - to read users letters and reply them. But i’ve heard it’s not very good to use them at once.
Before we troubleshoot further: You /did/ restart Ghost after changing the config.json file, right? If you didn’t, please go do that first.
The mailgun settings you snapshotted above (from the Ghost settings) are for newsletter sending. They don’t impact transactional email, which includes sending magic links (what you’re trying to do here).
Ghost is not going to receive email for you and let you read it. You don’t set up your inbound email with Ghost. (That seems to be what you’re asking in #2?)
Finally, i can mark 3 tasks and their possible solutions.
Setup the transactional emails. As i understood, it’s necessary to replace my current config.production.json file with another parameters?
Setup notification emails. Just keep the current piece of code in config.production.json?
I’ve got that Ghost is not connected with regular email service like Gmail, Outlook etc. Just wanted to doublecheck about possible conflicts because of using Mailgun and other services. Ok, sorry, this question i have to solve on my own.
Uffff, i’ve found a solution (changed port from 465 to 587).
Now users can login/register at the site and get confirmation emails.
The only problem left - when user open confirmation email, he get warning about insecure connection.
Should i fix it with a string:
“secure”: true, instead of
“secure”: false,
in config.production.json?
UPD
The same problem (warning about suspicious connection after user clicks confirmation link) appears in both situations:
A) 465 port, secured connection, no TLS
B) 587 port, no secured connection, switched on TLS
I don’t read Russian and I can’t Google Translate an image, but the error message seems to say that this is an ssl problem with email.traktatiki.com. Do you have DNS set up correctly for that domain?
There are directions (although for Ghost Pro) here:
I /suspect/ that you’re not set up correctly in Mailgun, such that it isn’t serving up an SSL certificate for email.yourdomain.tld.