2 years ago
I had used Ghost with mysql, but currently I try to use a new Ghost template with Sqlite. I did not found some sufficient doc for this template to set up it with mailgun and CLOUDINARY.
0 Replies
I did some steps like Ghost with Mysql. When I tried to send email, I got Error :
[2023-09-07 02:00:22] ERROR "POST /members/api/send-magic-link/" 500 440ms
Failed to send email. Reason: Sending failed.
"Please see https://ghost.org/docs/config/#mail for instructions on configuring email."
Error ID:
4dbcf500-4d22-11ee-b97c-2d076c584b89
----------------------------------------
Error: Sending failed
at createMailError
This is the template: https://railway.app/template/9VGb60
2 years ago
what email provider are you trying to use
I've added some env variable like this link: https://catchtheblock.com/how-to-setup-mailgun-in-ghost-self-hosted-docker-compose/
2 years ago
glad you where able to solve it!
Btw, I need to mention something for new users who will come to this template:
smtp.eu.mailgun.org is for EU, , however, smtp.us.mailgun.org is not for the US. smtp.mailgun.org is for the US.
2 years ago
thats very good information, thanks!
@BruceX I am running into the same error when I use the Railway instance (Ghost CMS/MySQL).
In the link above for the "How to Setup Ghost CMS & Mailgun (self-hosted) there is a step:
Here is my updated docker-compose.yml file:
Did you package your own Docker image locally, add this file and then deploy to Railway?
Asking because I added these to the Railway variables like this:
MAIL_TRANSPORT="SMTP"
MAIL_HOST="smtp.mailgun.org"
MAIL_PORT="587"
MAIL_SECURE="false"
MAIL_USER="postmaster@email.example.tv"
MAIL_PASS="827ffe0ab153cbba92c64e79f0e331bb-777a617d-e2bbaad8"
mail__from="noreply@example.tv"
If there a way to use the Railway Docker Ghost CMS image and change this file:
docker-compose.yml
or did you package the Ghost CMS Docker image, change it locally and then deploy to Railway?
Appreciate any suggestions.
And if I do need to save a Ghost CMS docker file locally is there one you recommend for Railway?
-- new to deploying