Hi guys, 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.
Using Netcat I would be able to confirm this:
nc: connect to smtp.mandrillapp.com port 587 (tcp) failed: Connection timed out
It’s possible to have this working on DigitalOcean or I need to do something else to send e-mails?
Thank you!
Droplet: Ubuntu 14.04 (LAMP Stack)
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi guys, You should open a ticket for DO support asking to unblock SMTP traffic on your account.
Accounts are created with this block by default to avoid spammers.
After providing some basic contact information details, Droplets on you account should be able to communicate with SMTP servers.
Hope it helps. Cheers!
not working here too, don’t seem to be a prob with mandril though:
http://stackoverflow.com/questions/27106336/smtp-mandrill-port-587-connection-timed-out
telnet smtp.mandrillapp.com 587
Trying 54.184.79.59...
Connected to smtp.mandrillapp.com.
Escape character is '^]'.
220 smtp.mandrillapp.com ESMTP
As you can see, it is working for me. what firewall rules do you have configured?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.