Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JAMES-1752 Handle multipart mediatype when retrieving text/html body
- Loading branch information
Showing
8 changed files
with
581 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 64 additions & 0 deletions
64
...p-integration-testing-common/src/test/resources/htmlAndTextMultipartWithOneAttachment.eml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
Return-Path: <user0@open-paas.org> | ||
MIME-Version: 1.0 | ||
Delivered-To: user0@open-paas.org | ||
Received: from 172.18.0.1 (EHLO [172.18.0.1]) ([172.18.0.1]) | ||
by open-paas.org (JAMES SMTP Server ) with ESMTP ID -674616268 | ||
for <user0@open-paas.org>; | ||
Tue, 07 Jun 2016 14:23:37 +0000 (UTC) | ||
To: user0@open-paas.org | ||
From: user0 <user0@open-paas.org> | ||
Subject: BOTH | ||
Message-ID: <1cc7f114-dbc4-42c2-99bd-f1100db6d0c1@open-paas.org> | ||
Date: Tue, 7 Jun 2016 16:23:37 +0200 | ||
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 | ||
Thunderbird/45.1.1 | ||
Content-Type: multipart/mixed; | ||
boundary="------------7AF1D14DE1DFA16229726B54" | ||
|
||
This is a multi-part message in MIME format. | ||
--------------7AF1D14DE1DFA16229726B54 | ||
Content-Type: multipart/alternative; | ||
boundary="------------172F9470CFA3BF3417835D92" | ||
--------------172F9470CFA3BF3417835D92 | ||
Content-Type: text/plain; charset=utf-8; format=flowed | ||
Content-Transfer-Encoding: 7bit | ||
/blabla/ | ||
*bloblo* | ||
--------------172F9470CFA3BF3417835D92 | ||
Content-Type: text/html; charset=utf-8 | ||
Content-Transfer-Encoding: 7bit | ||
|
||
<i>blabla</i> | ||
<b>bloblo</b> | ||
|
||
--------------172F9470CFA3BF3417835D92-- | ||
|
||
--------------7AF1D14DE1DFA16229726B54 | ||
Content-Type: image/jpeg; | ||
name="4037_014.jpg" | ||
Content-Transfer-Encoding: base64 | ||
Content-Disposition: attachment; | ||
filename="4037_014.jpg" | ||
/9j/4X2cRXhpZgAASUkqAAgAAAANAA8BAgAKAAAAqgAAABABAgAJAAAAtAAAABIBAwABAAAA | ||
AQAAABoBBQABAAAAvgAAABsBBQABAAAAxgAAACgBAwABAAAAAgAAADEBAgAKAAAAzgAAADIB | ||
AgAUAAAA2AAAABMCAwABAAAAAgAAAGmHBAABAAAAfAIAAKXEBwDQAAAA7AAAANLGBwBAAAAA | ||
vAEAANPGBwCAAAAA/AEAAEwqAABQYW5hc29uaWMARE1DLUZaNDUAALQAAAABAAAAtAAAAAEA | ||
AABWZXIuMS4wICAAMjAxNDowMjoyNSAxMDozMjowOQBQcmludElNADAyNTAAAA4AAQAWABYA | ||
AgAAAAAAAwBkAAAABwAAAAAACAAAAAAACQAAAAAACgAAAAAACwCsAAAADAAAAAAADQAAAAAA | ||
DgDEAAAAAAEFAAAAAQEBAAAAEAGAAAAACREAABAnAAALDwAAECcAAJcFAAAQJwAAsAgAABAn | ||
AAABHAAAECcAAF4CAAAQJwAAiwAAABAnAADLAwAAECcAAOUbAAAQJwAAAAAAAAAAAAAAAAAA | ||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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