繁体   English   中英

无法从Ghost发送电子邮件-504错误

[英]Unable to send email from Ghost - 504 error

我执行了简单的Digital Ocean幻影小滴设置(Ubuntu 14,Ghost 0.7),并且博客工作正常,除了以下事实:当我尝试邀请其他作者时,在控制台中读取了以下错误:

http://politidados.io/ghost/api/v0.1/users/ Failed to load resource: the server responded with a status of 504 (Gateway Time-out)

而且,当然不会发送电子邮件。

config.js文件中的不同smtp配置发生相同的错误(我尝试使用mailgun和gmail)。

任何帮助都超过了欢迎! 谢谢!

经过一些宝贵的时间,尝试使用nginx配置和ghost配置,我弄清楚了:

Digital Ocean在某些情况下会阻止SMTP用于新创建的帐户。 对我来说就是这样。

因此,我的所有配置从一开始都是正确的-我只需要发送一些个人信息到support @ digital ocean。

总而言之,数字海洋小滴可以正常工作,而您要做的就是遵循以下两个教程:

https://www.digitalocean.com/community/tutorials/how-to-use-the-digitalocean-ghost-application

support.ghost.org/mail/

并要求他们解除SMTP阻止。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM