Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-6552

Javamail module not fully reads SMTP server responses

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • mail
    • Security Level: public (Regular issues)
    • None

    Description

      Method sendData(MimeMessage msg) of class SMTPConnection in module geronimo-javamail_1.4_provider reads only first line of response after sending content.

      This causes two problems in case of multi-line response:
      1) Only the first line of response is received from remote server. So the SMPT session is left in inconsistent state.
      2) In case of error only the first line of error message is passed to exception.

      The problem is present in geronimo-javamail_1.4_provider version 1.8.4 and in trunk.

      Attachments

        Activity

          People

            maguro Alan Cabrera
            AlexeiOsipov Alexei Osipov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: