DEBUG: setDebug: JavaMail version 1.4.2
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
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 "smtp.gmail.com", port 465, isSSL false
220 mx.google.com ESMTP 21sm769726pxi.8
DEBUG SMTP: connected to host "smtp.gmail.com", port: 465EHLO f3d3dd98396e4d6
250-mx.google.com at your service, [211.142.218.66]
250-SIZE 35651584
250-8BITMIME
250-AUTH LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250 PIPELINING
DEBUG SMTP: Found extension "SIZE", arg "35651584"
DEBUG SMTP: Found extension "8BITMIME", arg ""
DEBUG SMTP: Found extension "AUTH", arg "LOGIN PLAIN"
DEBUG SMTP: Found extension "ENHANCEDSTATUSCODES", arg ""
DEBUG SMTP: Found extension "PIPELINING", arg ""
DEBUG SMTP: use8bit false
MAIL FROM: <[email protected]>
530-5.5.1 Authentication Required. Learn more at                             
530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 21sm769726pxi.8
DEBUG SMTP: got response code 530, with response: 530-5.5.1 Authentication Required. Learn more at                             
530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 21sm769726pxi.8RSET
250 2.1.5 Flushed 21sm769726pxi.8
com.sun.mail.smtp.SMTPSendFailedException: 530-5.5.1 Authentication Required. Learn more at                             
530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 21sm769726pxi.8at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1668)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1207)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:735)
at javax.mail.Transport.send0(Transport.java:191)
at javax.mail.Transport.send(Transport.java:120)
at org.liuxiong.javamail.JavaMailDemo2.main(JavaMailDemo2.java:55)
QUIT
221 2.0.0 closing connection 21sm769726pxi.8
Exception in thread "main" com.sun.mail.smtp.SMTPSendFailedException: 530-5.5.1 Authentication Required. Learn more at                             
530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 21sm769726pxi.8at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1668)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1207)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:735)
at javax.mail.Transport.send0(Transport.java:191)
at javax.mail.Transport.send(Transport.java:120)
at org.liuxiong.javamail.JavaMailDemo2.main(JavaMailDemo2.java:55)