I have made a portlet for sending comments/suggestions to a certain email address using JavaMail API. But when I submit the form I get the exception:
I have tested the host and IP using telnet and its connected. This java program works fine when run from a local machine. The problem occurs only when the portlet is deployed on live server. Please guide. Its urgent.