I have an application that sends out emails. The SMTP settings are defined in the System Settings Object.
Sometimes sending works, but sometimes I get the following error:
Send failed exception thrown Sending failed;
nested exception is:
class javax.mail.AuthenticationFailedException
Next exception is javax.mail.AuthenticationFailedExceptionnull
2011-09-03 07:31:59,134 ERROR -Unable to connect to remote host mail.beluthai.org
javax.mail.AuthenticationFailedException
at javax.mail.Service.connect(Service.java:264)
at javax.mail.Service.connect(Service.java:134)
at javax.mail.Service.connect(Service.java:86)
at com.sun.mail.smtp.SMTPTransport.connect(SMTPTransport.java:95)
at javax.mail.Transport.send0(Transport.java:162)
at javax.mail.Transport.send(Transport.java:80)
at com.bas.basserver.iopipes.EmailSink.A(Unknown Source)
at com.bas.basserver.iopipes.EmailSink.C(Unknown Source)
at com.bas.basserver.iopipes.EmailSink.A(Unknown Source)
at com.bas.basserver.iopipes.EmailSink$_D.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
This is without changing any settings.
Anyone an idea what the error means and how to solve this?