Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-4963

Mail server does not work with SSL port 465

    XMLWordPrintable

Details

    • Bug
    • Resolution: Timed out
    • Low
    • N/A
    • 3.1.5
    • None

    Description

      Using port 465 with smtp.gmail.com will have the following error:

      2013-11-20 17:16:03,173 INFO  [qtp2000442639-2841 ] fisheye.mail Mailer-reload - Starting mail system...
      2013-11-20 17:16:03,186 INFO  [qtp2000442639-2841 ] fisheye.mail Mailer-reload - Mail system started.
      2013-11-20 17:16:13,065 INFO  [qtp2000442639-2841 -email-1384938973065] fisheye.mail Mailer-reload - Starting mail system...
      2013-11-20 17:16:13,066 DEBUG [qtp2000442639-2841 -email-1384938973065] fisheye.mail Mailer-reload - mail.smtp.host = smtp.gmail.com
      2013-11-20 17:16:13,067 DEBUG [qtp2000442639-2841 -email-1384938973065] fisheye.mail Mailer-reload - mail.smtp.starttls.enable = true
      2013-11-20 17:16:13,067 DEBUG [qtp2000442639-2841 -email-1384938973065] fisheye.mail Mailer-reload - mail.smtp.port = 465
      2013-11-20 17:16:13,068 DEBUG [qtp2000442639-2841 -email-1384938973065] fisheye.mail Mailer-reload - mail.from = fkloun@gmail.com
      2013-11-20 17:16:13,068 DEBUG [qtp2000442639-2841 -email-1384938973065] fisheye.mail Mailer-reload - mail.smtp.auth = true
      2013-11-20 17:16:13,069 DEBUG [qtp2000442639-2841 -email-1384938973065] fisheye.mail Mailer-reload -  username = fkloun@gmail.com
      2013-11-20 17:16:13,071 DEBUG [qtp2000442639-2841 -email-1384938973065] fisheye.mail Mailer-reload -  password = *******
      2013-11-20 17:16:13,075 INFO  [qtp2000442639-2841 -email-1384938973065] fisheye.mail Mailer-reload - Mail system started.
      2013-11-20 17:16:13,076 DEBUG [qtp2000442639-2841 -email-1384938973065] fisheye.mail Mailer-getEffectiveFromAddress - Using from address: 'fkloun@gmail.com'
      2013-11-20 17:16:13,076 DEBUG [qtp2000442639-2841 -email-1384938973065] fisheye.mail Mailer$2-log - DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
      2013-11-20 17:16:13,077 DEBUG [qtp2000442639-2841 -email-1384938973065] fisheye.mail Mailer$2-log - DEBUG SMTP: useEhlo true, useAuth true
      2013-11-20 17:16:13,078 DEBUG [qtp2000442639-2841 -email-1384938973065] fisheye.mail Mailer$2-log - DEBUG SMTP: useEhlo true, useAuth true
      2013-11-20 17:16:13,078 DEBUG [qtp2000442639-2841 -email-1384938973065] fisheye.mail Mailer$2-log - DEBUG SMTP: trying to connect to host "smtp.gmail.com", port 465, isSSL false
      2013-11-20 17:26:13,440 DEBUG [qtp2000442639-2841 -email-1384938973065] fisheye.mail Mailer$2-log - DEBUG SMTP: EOF: [EOF]
      2013-11-20 17:26:13,442 DEBUG [qtp2000442639-2841 -email-1384938973065] fisheye.mail Mailer$2-log - DEBUG SMTP: could not connect to host "smtp.gmail.com", port: 465, response: -1
      2013-11-20 17:26:13,443 ERROR [qtp2000442639-2841 -email-1384938973065] fisheye.mail Mailer-sendMessage - problem sending email
      javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1
      	at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1270)
      	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
      	at javax.mail.Service.connect(Service.java:297)
      	at javax.mail.Service.connect(Service.java:156)
      	at javax.mail.Service.connect(Service.java:105)
      	at javax.mail.Transport.send0(Transport.java:168)
      	at javax.mail.Transport.send(Transport.java:98)
      	at com.cenqua.fisheye.mail.Mailer.send(Mailer.java:216)
      

      It is showing 'isSSL false' even though the option 'Use SSL/TLS' is turned ON.

      Workaround

      Use port 587 (TLS) or 25 (SSL)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              klfoong Foong (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: