JavaMail:Authentication required error
Hi,
I was trying JavaMail API and this error appears
Code:
DEBUG: setDebug: JavaMail version 1.4ea
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport
,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth false
DEBUG SMTP: trying to connect to host "InHydM01", port 25, isSSL false
220 InHydM01.tcs.com ESMTP Service (Lotus Domino Release 6.5.5FP2HF356) ready at Wed, 20 Jun 2007 14:07:02 +0530
DEBUG SMTP: connected to host "InHydM01", port: 25
EHLO 01HW102062
250-InHydM01.tcs.com Hello 01HW102062 ([172.19.58.234]), pleased to meet you
250-HELP
250-AUTH LOGIN
250-SIZE 8388608
250 PIPELINING
DEBUG SMTP: Found extension "HELP", arg ""
DEBUG SMTP: Found extension "AUTH", arg "LOGIN"
DEBUG SMTP: Found extension "SIZE", arg "8388608"
DEBUG SMTP: Found extension "PIPELINING", arg ""
to address : balti@gmail.com
DEBUG SMTP: use8bit false
MAIL FROM:<cachi@entertech.com>
530 Authentication required
com.sun.mail.smtp.SMTPSendFailedException: 530 Authentication required
at cocom.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
at com.tcs.ultimatix.SimpleSender.send(SimpleSender.java:70)
at com.tcs.ultimatix.SimpleSender.main(SimpleSender.java:23)
any ideas?