Authentication Failed exception - In the middle of bulk mail sending code.

Posted by Ezhil on Stack Overflow See other posts from Stack Overflow or by Ezhil
Published on 2010-05-07T08:11:34Z Indexed on 2010/05/07 8:18 UTC
Read the original article Hit count: 237

Filed under:
|
|

We have a thread program that sends bulk mail. The information like 1. To 2. Subject Etc., are fetched from database, mail is composed and pushed to SMTP server. One of our customer sent a bulk mail with 2390 email. After sending 40 emails, suddenly the following exception occurred

EXCEPTION javax.mail.AuthenticationFailedException

STACKTRACE javax.mail.Service.connect(Service.java:306) javax.mail.Service.connect(Service.java:156) javax.mail.Service.connect(Service.java:105) ............... java.lang.Thread.run(Thread.java:619)

and the rest 2350 emails failed.

Why does this occur?

Thanks for the Suggestions and Help

Ezhil

© Stack Overflow or respective owner

Related posts about java

Related posts about mail