Unable to connect to smtp.zoho.com port 465/587
I recently registered with Linode.
I have my domain's emails configured with zoho mail. I am trying to send the emails using java code through zoho.com but it gives me error connection timeout connecting to smtp.zoho.com. I have tried both ports 465 and 587 for zoho smtp but error is same. What could be the problem?
Tried it through Gmail as well but error is same
javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 587
@pakfans If you've recently registered, you'll need to reach out to Linode via a Support ticket because new accounts have SMTP port restrictions in place. the below Community Question explains the reasons in a bit more detail.