Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JavaMail authentication with Exchange

Status
Not open for further replies.

crmayer

Programmer
Nov 22, 2002
280
0
0
US
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top