We just moved our mail in-house and now are having problems sending mail our of our Java application.
I have been looking on line and finding a lot of people saying the only way to do this is to open up Exchange to allow relaying for the clients that will be sending mail from the java application.
I would rather set up one of our config files with a username and password and authenticate if possible. The only suggestion I have found is to use the following format, but this did not work either.
DomainName\NtUserName\ExchangeMailBox
I have tried this along with others and I still get authentication errors.
Does anybody know how to authenticate JavaMail with Exchange 2007?
I have been looking on line and finding a lot of people saying the only way to do this is to open up Exchange to allow relaying for the clients that will be sending mail from the java application.
I would rather set up one of our config files with a username and password and authenticate if possible. The only suggestion I have found is to use the following format, but this did not work either.
DomainName\NtUserName\ExchangeMailBox
I have tried this along with others and I still get authentication errors.
Does anybody know how to authenticate JavaMail with Exchange 2007?