SMTP Mandrill端口587连接超时 [英] SMTP Mandrill Port 587 Connection Timed out

查看:105
本文介绍了SMTP Mandrill端口587连接超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序,可以使用Mandrillapp的SMTP服务器为自己发送一些通知电子邮件。在我的localhost /开发环境中,它工作正常,但是在DigitalOcean的Droplet中,我得到了一个PHP异常,告诉我连接已超时。

I have an app that send some notification e-mails for myself using Mandrillapp's SMTP server. It works fine on my localhost/development, but in DigitalOcean's Droplet I get an PHP exception telling me that the connection have timed out.

使用Netcat,我可以确认

Using Netcat I would be able to confirm this:

nc:连接到smtp.mandrillapp.com端口587(tcp)失败:连接超时

nc: connect to smtp.mandrillapp.com port 587 (tcp) failed: Connection timed out

是否有可能在DigitalOcean上进行此操作,或者我需要做其他事情来发送电子邮件?

It's possible to have this working on DigitalOcean or I need to do something else to send e-mails?

谢谢!

Droplet:Ubuntu 14.04(LAMP堆栈)

Droplet: Ubuntu 14.04 (LAMP Stack)

推荐答案

为了遏制垃圾邮件和滥用行为,一些新的用户帐户在DigitalOcean,默认情况下会阻止其SMTP端口。不幸的是,有时会有误报。听起来这对您来说可能就是这种情况。如果您打开支持通知单,团队将很乐意为您删除该障碍。

In order to curb spam and abuse, some new user accounts at DigitalOcean have their SMTP ports blocked by default. Unfortunately there are sometimes false positives. It sounds like this might have been the case for you. If you open a support ticket, the team would be happy to remove that block for you.

全披露,我是Digitalocean的社区经理

这篇关于SMTP Mandrill端口587连接超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆