Browse Source
Fix bug where some messages could get malformed in an import from a MBOX file (#9510)
pull/9552/head
Fix bug where some messages could get malformed in an import from a MBOX file (#9510)
pull/9552/head

5 changed files with 193 additions and 38 deletions
-
1CHANGELOG.md
-
107program/actions/mail/import.php
-
2tests/ActionTestCase.php
-
91tests/Actions/Mail/ImportTest.php
-
30tests/src/import.mbox
@ -0,0 +1,30 @@ |
|||
From test@rc.net Sun Jul 16 15:06:25 2023 |
|||
From: test@rc.net |
|||
To: Tom Tester <tb@tester.local> |
|||
Subject: Import 1 |
|||
MIME-Version: 1.0 |
|||
Content-Type: text/plain; |
|||
Date: Fri, 23 May 2014 19:44:50 +0200 |
|||
Message-ID: <de75@tester.local> |
|||
|
|||
1234 |
|||
From test1@rc.net Sun Jul 16 15:06:25 2023 |
|||
From: test1@rc.net |
|||
To: Tom Tester <tb@tester.local> |
|||
Subject: Import 2 |
|||
MIME-Version: 1.0 |
|||
Content-Type: text/plain; |
|||
Date: Fri, 23 May 2014 19:44:50 +0200 |
|||
Message-ID: <de75@tester.local> |
|||
|
|||
>From me |
|||
From test2@rc.net Sun Jul 16 15:06:25 2023 |
|||
From: test2@rc.net |
|||
To: Tom Tester <tb@tester.local> |
|||
Subject: Import 3 |
|||
MIME-Version: 1.0 |
|||
Content-Type: text/plain; |
|||
Date: Fri, 23 May 2014 19:44:50 +0200 |
|||
Message-ID: <de75@tester.local> |
|||
|
|||
XXXX |
Write
Preview
Loading…
Cancel
Save
Reference in new issue