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

No login methods supported exception using Poll mailbox trigger plugin

      Plugin version :: 1.026

      Jenkins version :: 2.73.3

      I have installed Poll-mailbox-trigger-plugin on my jenkins server. we are using MS-Exchange as a mail server.

      On clicking Test Connection we are getting following exception:

      Connecting to the mailbox...
      Error : javax.mail.MessagingException: No login methods supported!;
      nested exception is:
      com.sun.mail.iap.ProtocolException: No login methods supported!
      at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:663)
      at javax.mail.Service.connect(Service.java:295)
      at javax.mail.Service.connect(Service.java:176)
      at org.jenkinsci.plugins.pollmailboxtrigger.mail.MailReader.connect(MailReader.java:58)
      at org.jenkinsci.plugins.pollmailboxtrigger.PollMailboxTrigger.checkForEmails(PollMailboxTrigger.java:238)

      and sometime

      Connecting to the mailbox...
      Error : javax.mail.AuthenticationFailedException: AUTHENTICATE failed.
      at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:660)
      at javax.mail.Service.connect(Service.java:295)
      at javax.mail.Service.connect(Service.java:176)

       

      Please find the attached configuration screen-shot for reference.

          [JENKINS-53963] No login methods supported exception using Poll mailbox trigger plugin

          I am seeing similiar issue with IMAP configuration. IMAP Configuration and credentials are absolutely correct and works in my local to read gmail. My test fails and throws error as attached screenshot when trying to connect in jenkins. Appreciate your help

          Sesha Bezawada added a comment - I am seeing similiar issue with IMAP configuration. IMAP Configuration and credentials are absolutely correct and works in my local to read gmail. My test fails and throws error as attached screenshot when trying to connect in jenkins. Appreciate your help

          Mine was resolved after setting the property 
           
          properties.put("mail.smtp.ssl.enable", "true");

          Sesha Bezawada added a comment - Mine was resolved after setting the property    properties.put("mail.smtp.ssl.enable", "true");

            nickg Nick Grealy
            sumit_bha Sumit Bhardwaj
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: