Re: How do i logon to exchange server using javamail API.
Monday, November 25, 2002 10:12 AM
Are you sure the e-mail server supports relaying to outside hosts? If you're able to send internally then your code is working and I don't see anything wrong with what you have above.
My guess is that this is more of an internal network configuration at your company. It's possible the exchange server requires some sort of authentication to route e-mail externally.