I have a server with A.B.C.D ipaddress which has the SMTP HOST VALUE as localhost. Am able to send the emails from the server if my app is running in the Server.
If I run my App in my local JBoss server and make the SMTP HOST VALUE as ipadress of the Server and try to send email, I have the below exception
Thanks in Advance.
posted 3 years ago
My first guess is that there's a firewall in between that prevents connections from the host you're running this code on. Or maybe the mail server is configured not to accept connections from other hosts.