Hi,
I am trying to send an email with
Java Mail but i am behind a proxy and the email is being unable to be sent,
The Java code that i have is:
the exception that I am getting is:
"
javax.mail.MessagingException: Unknown SMTP host: smtp.gmail.com;
nested exception is:
java.net.UnknownHostException: smtp.gmail.com
"
When I send a Http request using HttpClient i use:
Is there a way to set the proxy within the javax.mail.* package?
Thanks in Advance,
Niall