Hey people,
I am trying to use sendemail to test emails on my droplet on digital ocean and it is not working. I do the same command line on my machine and in other server hosted in linode. Both works.
$ sendemail -f myemail@gmail.com -t otheremail@gmail.com -u subject -m “message” -s smtp.gmail.com:587 -o tls=yes -xu myemail@gmail.com -xp ‘password’ Mar 14 20:18:10 digitalocean sendemail[23681]: ERROR => Timeout while connecting to smtp.gmail.com:587 There was no response after 60 seconds.
Can you help me?
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!
From my machine: <br> <br>$ telnet smtp.gmail.com 587 <br>Trying 74.125.137.108… <br>Connected to gmail-smtp-msa.l.google.com. <br>Escape character is ‘^]’. <br>220 mx.google.com ESMTP m9sm30167065yha.2 - gsmtp <br> <br>From my digital ocean droplet: <br> <br>$ telnet smtp.gmail.com 587 <br>Trying 74.125.131.108… <br>Trying 74.125.131.109… <br>Trying 2607:f8b0:400c:c03::6d… <br>telnet: Unable to connect to remote host: Network is unreachable <br> <br>Yeap, timeout too…
Same issue here. Any ideas when it will be resolved? Is there firewall or something?
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.