I have a session
bean which services all e-mail requests for my application. All works
great unless the target SMTP server requires authentication. I can't
figure out how to get authenticated!
I have tried
sub-classing javax.mail.Authenticator and over-riding the method
"getPasswordAuthentication()" which I have simply returning "new
PasswordAuthentication("myusername", "mypassword")" I still receive an
Exception though. I have looked all over for the answer. Any
hints?
Thanks,
Nathan
Phelps