Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-64491

MessagingException message: Could not connect to SMTP host: smtp.gmail.com, port: 25 Next SSLException message: Unsupported or unrecognized SSL message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • email-ext-plugin
    • None

      i am trying to send test mails are working fine , but when i am assign to send email after build , i am getting below error messageĀ 
      DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]
      DEBUG SMTP: need username and password for authentication
      DEBUG SMTP: protocolConnect returning false, host=smtp.gmail.com, user=jenkins, password=<null>
      DEBUG SMTP: useEhlo true, useAuth true
      DEBUG SMTP: trying to connect to host "smtp.gmail.com", port 25, isSSL false
      MessagingException message: Could not connect to SMTP host: smtp.gmail.com, port: 25
      Next SSLException message: Unsupported or unrecognized SSL message
      Sending email for trigger: Always
      Sending mail from default account using System Admin e-mail address
      messageContentType = text/html; charset=UTF-8
      Request made to attach build log
      Request made to compress build log

      DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]
      DEBUG SMTP: need username and password for authentication
      DEBUG SMTP: protocolConnect returning false, host=smtp.gmail.com, user=jenkins, password=<null>
      DEBUG SMTP: useEhlo true, useAuth true
      DEBUG SMTP: trying to connect to host "smtp.gmail.com", port 25, isSSL false
      MessagingException message: Could not connect to SMTP host: smtp.gmail.com, port: 25
      Next SSLException message: Unsupported or unrecognized SSL message
      Finished: SUCCESS

      i have enabled less secure app also allow in gmail , passwd is added in email-notification in jenkins .
      can any one help to how to fix this problem .

            Unassigned Unassigned
            prashanth_k443 prasanth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: