Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mail-dev] \r\n not considered in MimeMultipart class
  • From: "Guru Abhishek (SDS/EPM1)" <Abhishek.Guru@xxxxxxxxxxxx>
  • Date: Wed, 1 Jun 2022 10:27:53 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=in.bosch.com; dmarc=pass action=none header.from=in.bosch.com; dkim=pass header.d=in.bosch.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=INUXKuVoyzm2eFHZFl8uxNTflxu8/Rp/KMQd/JxUWo8=; b=IaGsOUQi+6NnLsrA7Xl7xPHw5xbw73EpKANcdsvHDbyBCw3g8xNm/0VZEB8YXgv5OkqDZDhA4r8jgefOQ9A0EgUo3KbHorgljBPJWTOS4fzHVqxWhzDa2GisJyuTdxiZ3wvPYxDP3BA2BnQOStkuZB9nLEEdS/dCWWo6Ie6pkuqMmcBj/qTXZA82ogroFcJMRrDEiBTy7oNXDtZG2P0EQuFBNIkzL2sV/LahXk0FViFbkhxcJ8g+8LWtCVyEIgJ5dIL8KZlNYHYpB4KbhtcbulHZorrNRthRuqfLL+Il/NtK4yvU67nArWKWg+q3sMPJ2Jec+9DSCxJhILO10jzlHA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RsABf/zPQUueTW5O/8GbaXXr6FBcJZj7gB5SgJfc8BWAoWaKGKimTrjfewvpbqBH1/FmTXZYEfAHVtM/yQyvDKINqYnIYR6Od0YfOwVVcbUzO/EMjrxwYkF6azzHGJhETNYvWxvJZcukWVM/S2c+nb5d50LW53cjB2puXZvz0EVksb7Wx5hCrl40GIymK3wKDQGVRiDpjowx7GM6Q8DxbryHaJVNCLRW+7nAIS37CVDSmnIQRQS2PNHblnrWdC9KAgcXpW8yFlvXbM8xDY3LSMzY49nOxRLfTwA5MKbal+rLxVhwqViGStBfgzsFYAC0G1DscXDJyFvktMSFZFhwGw==
  • Delivered-to: mail-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/mail-dev/>
  • List-help: <mailto:mail-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/mail-dev>, <mailto:mail-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/mail-dev>, <mailto:mail-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: Adh1ogdkaJI8//7NRxScV/XJyrVcEw==
  • Thread-topic: \r\n not considered in MimeMultipart class

Hi Team,

 

We are using Jakarta API version 1.6.7 in our legacy application.

 

In some places we are using MimeBodyPart to form message and in some places we are using MimeMultiPart based on requirement.

 

We have observed below difference

 

MimeBodyPart -> writeTo() method -> does not consider the \r\n in the http headers -> Headers are always unfolded
MimeMultiPart -> writeTo() method -> consider the \r\n in the http headers -> Headers are always folded/unfolded based on input

 

Could you please let us know,

 

1.Why MimeBodyPart is always unfolded ?
2.Also how to make it flexible like MimeMultiPart in terms header folding.

 

Kindly let us know if there are any ticketing system where we can raise the ticket for seeking above information. We will create ticket over there.

 

Mit freundlichen Grüßen / Best regards

Abhishek Guru


$department$ (SDS/EPM1)
Robert Bosch GmbH | Postfach 10 60 50 | 70049 Stuttgart | GERMANY |
www.bosch.com
Abhishek.Guru@xxxxxxxxxxxx

Registered Office: Stuttgart, Registration Court: Amtsgericht Stuttgart, HRB 14000;
Chairman of the Supervisory Board: Prof. Dr. Stefan Asenkerschbaumer; Managing Directors: Dr. Stefan Hartung,
Dr. Christian Fischer, Filiz Albrecht, Dr. Markus Forschner, Dr. Markus Heyn, Rolf Najork


Back to the top