when registering a site visitor, the error “Failed to sign up, please try again” appears.
I don’t plan to do mailing lists and I don’t want to use Mailgun, I just need to set up registration and that’s it.
Please help me solve the problem
Otherwise, everywhere the solution is tied to the Mailgun setting, but I don’t need it.
Thanks!
You will need to set up configuration for transactional emails. The login/signup mechanism works with email-based magic links.
To send these, Ghost needs a mail configuration (does not need to be Mailgun – you can use other services and SMTP) within the configuration.<environment>.json
.
Details are here:
Thanks for the reply.
I have set up config.production.json according to the guide you recommended to me.
But I still can’t set up registration. Could you describe in more detail how to set up registration for me. I will be very grateful to you.
"mail": {
"transport": "SMTP",
"options": {
"service": "Yandex",
"host": "smtp.yandex.ru",
"port": 465,
"secure": false,
"auth": {
"user": "......@.......",
"pass": "123456789"
}
}
}
Here are the settings I used
By the way, I’m installing hostcms on my laptop, a mysql database.
Thank you.
So I think you’re going to need to look at your ghost logs (which are probably in your-ghost-directory/content/logs) for what error is resulting when Ghost attempts to send email through that SMTP server. Possibilities include:
- wrong user/password combination
- outbound email is blocked from your server (laptop?)
- Yandex wants a different port/secure combination or needs startTLS