Closed GoogleCodeExporter closed 9 years ago
Your log shows that the client does not attempt to authenticate. Therefore your
UsernamePasswordValidator is not called, and that is the correct behavior.
The problem is with your client side code, but at the first sight I do not see
why does JavaMail not attempt to authenticate.
Original comment by hontvari@flyordie.com
on 28 Oct 2013 at 12:24
Sorry for not looking at the client configuration properly. The following
property was missing in the client
mail.smtp.auth=true.
After setting the same , the validation started working.
Thanks
Raaghu.K
Original comment by raagh...@gmail.com
on 28 Oct 2013 at 12:55
I have one more question on the same lines. Even if the client does not attempt
to authenticate the SMTP should reject, correct?
Or else what do I need to set if I want Authentication to happen irrespective
of client setting.
Thanks and Regards
Raaghu.K
Original comment by raagh...@gmail.com
on 29 Oct 2013 at 5:38
Hi.(PS:My E is poor)
I have the same question.
What can I do if I want to authenticate ignoring the client configuration?
If there is not way to do this,it may be one problem.
Authenticate or not should decide by the server side ,not the client side,right?
Original comment by xinwu0...@gmail.com
on 9 Dec 2013 at 5:56
See Issue 50. Another solution is to use SMTPServer.setRequireAuth(true), but
it is only in trunk, not in the released version.
Original comment by hontvari@flyordie.com
on 9 Dec 2013 at 7:33
Original issue reported on code.google.com by
raagh...@gmail.com
on 28 Oct 2013 at 11:03Attachments: