From cba06269ab1ab9253c097eb46ffdc0393548e74d Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Tue, 5 Jul 2022 18:27:49 +0200 Subject: Add support for mime in mime --- tests/emails/dxflrs/0003_mime-in-mime.body | 2 +- tests/emails/dxflrs/0003_mime-in-mime.bodystructure | 2 +- tests/emails/dxflrs/0003_mime-in-mime.eml | 7 +++++++ tests/emails/dxflrs/0004_msg-in-msg.eml | 2 ++ 4 files changed, 11 insertions(+), 2 deletions(-) (limited to 'tests/emails/dxflrs') diff --git a/tests/emails/dxflrs/0003_mime-in-mime.body b/tests/emails/dxflrs/0003_mime-in-mime.body index 5c6c9f8..ddf0f6d 100644 --- a/tests/emails/dxflrs/0003_mime-in-mime.body +++ b/tests/emails/dxflrs/0003_mime-in-mime.body @@ -1 +1 @@ -(BODY ((("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 7 0)("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 7 0) "mixed") "mixed")) \ No newline at end of file +(BODY ((("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1)("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1) "mixed")("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1) "mixed")) \ No newline at end of file diff --git a/tests/emails/dxflrs/0003_mime-in-mime.bodystructure b/tests/emails/dxflrs/0003_mime-in-mime.bodystructure index e2535bb..903d343 100644 --- a/tests/emails/dxflrs/0003_mime-in-mime.bodystructure +++ b/tests/emails/dxflrs/0003_mime-in-mime.bodystructure @@ -1 +1 @@ -(BODYSTRUCTURE ((("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 7 0 NIL NIL NIL NIL)("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 7 0 NIL NIL NIL NIL) "mixed" ("boundary" "child") NIL NIL NIL) "mixed" ("boundary" "parent") NIL NIL NIL)) \ No newline at end of file +(BODYSTRUCTURE ((("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1 NIL NIL NIL NIL)("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1 NIL NIL NIL NIL) "mixed" ("boundary" "child") NIL NIL NIL)("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1 NIL NIL NIL NIL) "mixed" ("boundary" "parent") NIL NIL NIL)) \ No newline at end of file diff --git a/tests/emails/dxflrs/0003_mime-in-mime.eml b/tests/emails/dxflrs/0003_mime-in-mime.eml index f98c015..52f4e15 100644 --- a/tests/emails/dxflrs/0003_mime-in-mime.eml +++ b/tests/emails/dxflrs/0003_mime-in-mime.eml @@ -9,9 +9,16 @@ Content-Type: multipart/mixed; boundary="child"; Content-Type: text/plain; charset="us-ascii" Hello 1 + --child Content-Type: text/plain; charset="us-ascii" Hello 2 + --child-- +--parent +Content-Type: text/plain; charset="us-ascii" + +Hello 3 + --parent-- diff --git a/tests/emails/dxflrs/0004_msg-in-msg.eml b/tests/emails/dxflrs/0004_msg-in-msg.eml index 051d003..b1602cb 100644 --- a/tests/emails/dxflrs/0004_msg-in-msg.eml +++ b/tests/emails/dxflrs/0004_msg-in-msg.eml @@ -9,3 +9,5 @@ From: Garage team Subject: Welcome to Aerogramme!! This is just a test email, feel free to ignore. + +--delim-- -- cgit v1.2.3