DEBUG SMTP: useEhlo true, useAuth false
843834May 14 2009 — edited May 14 2009Hey 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