Send E-Mail using JavaMail from behind a proxy server
If you trying to send an email using JavaMail API from behind a proxy server you would get ‘UnknownHostException’ . Thats because the proxy server doesn’t allow SMTP traffic through it.
One of my friend Indika Tantrigoda suggested me a forum thread that contains a good solution for this.
So this is the forum link
http://forums.sun.com/thread.jspa?threadID=615715
I think you may find a better answer…


Please I want the source code of MimeMessage
Please send it to me or reactivate the link.
Thank u in advance.