DEBUG: setDebug: JavaMail version 1.4.1
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 25, isSSL false
220 mx.google.com ESMTP p33sm662448elf.3
DEBUG SMTP: connected to host "smtp.gmail.com", port: 25
EHLO frealgagu
250-mx.google.com at your service, [190.68.14.57]
250-SIZE 28311552
250-8BITMIME
250-STARTTLS
250 ENHANCEDSTATUSCODES
DEBUG SMTP: Found extension "SIZE", arg "28311552"
DEBUG SMTP: Found extension "8BITMIME", arg ""
DEBUG SMTP: Found extension "STARTTLS", arg ""
DEBUG SMTP: Found extension "ENHANCEDSTATUSCODES", arg ""
DEBUG SMTP: use8bit false
MAIL FROM:<frealgagu@gmail.com>
530 5.7.0 Must issue a STARTTLS command first. p33sm662448elf.3
DEBUG SMTP: got response code 530, with response: 530 5.7.0 Must issue a STARTTLS command first. p33sm662448elf.3
RSET
250 2.1.0 Flushed p33sm662448elf.3
com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. p33sm662448elf.3
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1515)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1054)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:634)
at javax.mail.Transport.send0(Transport.java:189)
at javax.mail.Transport.send(Transport.java:118)
at MailSender.send(MailSender.java:63)
at EnvioMails.<init>(EnvioMails.java:33)
at EnvioMails.main(EnvioMails.java:15)
QUIT
221 2.0.0 mx.google.com closing connection p33sm662448elf.3
>> MailSender.send() error = com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. p33sm662448elf.3
Resultado del envío del mensaje : false