aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes javax.mail.AuthenticationFailedException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "javax.mail.AuthenticationFailedException" Watch "javax.mail.AuthenticationFailedException" New topic
Author

javax.mail.AuthenticationFailedException

Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732


The provided login and password is correct as I tested by logging with webmail.

Debug in tomcat logs:


Thanks & best regards
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19718
    
  20

Farakh khan wrote:

That looks a bit dodgy.

What happens if you omit the following line:


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Rob Prime wrote:
What happens if you omit the following line:



I omitted this line and got this
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19718
    
  20

At least your program has made some progress

I believe this is a relaying issue. Your mail server does not allow you to send emails to the "rurex.com.pl" domain. Check the mail server configuration.
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Rob Prime wrote:At least your program has made some progress

I believe this is a relaying issue. Your mail server does not allow you to send emails to the "rurex.com.pl" domain. Check the mail server configuration.


This code doesn't allow to send the emails as for all 20,000 emails same error

What I check on my dedicated server?

Thanks & best regards

Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19718
    
  20

I'm not familiar enough with your mail server program (or any other mail server program, to be honest) to answer that question. I don't think you can get much help here if it's not caused by Java code. Try the site of the mail server program itself.
 
 
subject: javax.mail.AuthenticationFailedException