Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JavaMail Authentication Problems with Tomcat

843830Jan 28 2004 — edited Jan 28 2004
Hi,

I am trying to send an email through a java servlet using the javamail api.

I am not using any authentication (which worked perfectly till two days ago) to send my emails.

Now whenever my servlet tries to send an email I get the following exception:

javax.mail.AuthenticationFailedException

Sending failed;
nested exception is:
class javax.mail.AuthenticationFailedException

Now all our servlets and jsps are hosted by a third party hosting provider. The servlet is on the same domain so, the smtp host is specified as 'localhost'.

Now those exceptions will not reappear with a tomcat restart, but only for a short period after which they reappear and all the emails do not go through.

Does anyone has any explanation with this??

I believe that probably our hosting people messed up tomcat security policy or something like that.

Any ideas will be greatly appreciated.

Thanks
DL
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 25 2004
Added on Jan 28 2004
1 comment
167 views