JavaMail Authentication Problems with Tomcat
843830Jan 28 2004 — edited Jan 28 2004Hi,
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