Return-Path: X-Original-To: apmail-geronimo-dev-archive@www.apache.org Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F3C89198C3 for ; Mon, 18 Apr 2016 18:33:30 +0000 (UTC) Received: (qmail 38437 invoked by uid 500); 18 Apr 2016 18:33:25 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 38352 invoked by uid 500); 18 Apr 2016 18:33:25 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 38325 invoked by uid 99); 18 Apr 2016 18:33:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Apr 2016 18:33:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9BBC02C14F4 for ; Mon, 18 Apr 2016 18:33:25 +0000 (UTC) Date: Mon, 18 Apr 2016 18:33:25 +0000 (UTC) From: "Alexei Osipov (JIRA)" To: dev@geronimo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (GERONIMO-6552) Javamail module not fully reads SMTP server responses MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GERONIMO-6552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexei Osipov updated GERONIMO-6552: ------------------------------------ Attachment: GERONIMO_6552_Read_all_lines_after_sending_content.patch > Javamail module not fully reads SMTP server responses > ----------------------------------------------------- > > Key: GERONIMO-6552 > URL: https://issues.apache.org/jira/browse/GERONIMO-6552 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: mail > Reporter: Alexei Osipov > Priority: Minor > Attachments: GERONIMO_6552_Read_all_lines_after_sending_content.patch > > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)