-
-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Messages: Add ability to native save mail content to file (#556)
- Loading branch information
1 parent
a238641
commit 92647fd
Showing
7 changed files
with
171 additions
and
0 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
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
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
61 changes: 61 additions & 0 deletions
61
tests/fixtures/embedded_email_without_content_disposition-embedded.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,61 @@ | ||
Received: from webmail.my-office.cz (localhost [127.0.0.1]) | ||
by keira.cofis.cz | ||
; Fri, 29 Jan 2016 14:25:40 +0100 | ||
From: [email protected] | ||
To: [email protected] | ||
Date: Fri, 5 Apr 2019 12:10:49 +0200 | ||
Subject: embedded_message_subject | ||
Message-ID: <[email protected]> | ||
Accept-Language: pl-PL, nl-NL | ||
Content-Language: pl-PL | ||
Content-Type: multipart/mixed; | ||
boundary="_005_AC39946EBF5C034B87BABD5343E96979012671D40E38VM002emonsn_" | ||
MIME-Version: 1.0 | ||
|
||
--_005_AC39946EBF5C034B87BABD5343E96979012671D40E38VM002emonsn_ | ||
Content-Type: multipart/alternative; | ||
boundary="_000_AC39946EBF5C034B87BABD5343E96979012671D40E38VM002emonsn_" | ||
--_000_AC39946EBF5C034B87BABD5343E96979012671D40E38VM002emonsn_ | ||
Content-Type: text/plain; charset="iso-8859-2" | ||
Content-Transfer-Encoding: quoted-printable | ||
some txt | ||
--_000_AC39946EBF5C034B87BABD5343E96979012671D40E38VM002emonsn_ | ||
Content-Type: text/html; charset="iso-8859-2" | ||
Content-Transfer-Encoding: quoted-printable | ||
|
||
<html> | ||
<p>some txt</p> | ||
</html> | ||
|
||
--_000_AC39946EBF5C034B87BABD5343E96979012671D40E38VM002emonsn_-- | ||
|
||
--_005_AC39946EBF5C034B87BABD5343E96979012671D40E38VM002emonsn_ | ||
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; | ||
name="file1.xlsx" | ||
Content-Description: file1.xlsx | ||
Content-Disposition: attachment; filename="file1.xlsx"; size=29; | ||
creation-date="Fri, 05 Apr 2019 10:06:01 GMT"; | ||
modification-date="Fri, 05 Apr 2019 10:10:49 GMT" | ||
Content-Transfer-Encoding: base64 | ||
IHRoaXMgaXMgY29udGVudCBvZiB0ZXN0IGZpbGU= | ||
--_005_AC39946EBF5C034B87BABD5343E96979012671D40E38VM002emonsn_ | ||
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; | ||
name="file2.xlsx" | ||
Content-Description: file2 | ||
Content-Disposition: attachment; filename="file2.xlsx"; size=29; | ||
creation-date="Fri, 05 Apr 2019 10:10:19 GMT"; | ||
modification-date="Wed, 03 Apr 2019 11:04:32 GMT" | ||
Content-Transfer-Encoding: base64 | ||
IHRoaXMgaXMgY29udGVudCBvZiB0ZXN0IGZpbGU= | ||
--_005_AC39946EBF5C034B87BABD5343E96979012671D40E38VM002emonsn_-- |