Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

DEBUG SMTP: useEhlo true, useAuth false

843834May 14 2009 — edited May 14 2009
Hey Guys,

Im running an app on a hosted server, i am attempting to send an email using the JavaMail Api, something strange is happening, when i execute the code on my test box useAuth is FALSE, however when i run the exact code on the hosted machine it somehow is set to TRUE, and i get the following exception:

DEBUG SMTP: useEhlo true, useAuth true
javax.mail.AuthenticationFailedException
at javax.mail.Service.connect(Service.java:319)
at javax.mail.Service.connect(Service.java:169)
at javax.mail.Service.connect(Service.java:118)
at javax.mail.Transport.send0(Transport.java:188)
at javax.mail.Transport.send(Transport.java:118)

Any and all help greatly appreciated as im a little out of my depth at this point, if this question has been asked before, appologies, point me in the right direction.

Thanks
DOB
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 11 2009
Added on May 14 2009
1 comment
8,401 views