From c8be993ae02e01eb1701f434a5d1074d6a9db791 Mon Sep 17 00:00:00 2001 From: Jeff Date: Fri, 25 Oct 2019 17:27:29 -0400 Subject: [PATCH 1/6] removed all dependencies --- QuoteParser/Parse.cs | 24 ------------------------ QuoteParser/QuoteParser.cs | 8 -------- QuoteParser/QuoteParser.csproj | 18 +++++++++--------- 3 files changed, 9 insertions(+), 41 deletions(-) delete mode 100644 QuoteParser/Parse.cs diff --git a/QuoteParser/Parse.cs b/QuoteParser/Parse.cs deleted file mode 100644 index df90904..0000000 --- a/QuoteParser/Parse.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System.IO; -using MimeKit; -using MimeKit.Text; - -namespace QuoteParser -{ - public static class Parse - { - public static bool ContainInReplyToHeader(MimeMessage msg) - { - return msg.Headers.Contains("In-Reply-To") || msg.Headers.Contains("References"); - } - - public static MimeMessage GetMimeMessage(Stream emlFile) - { - return MimeMessage.Load(emlFile); - } - - public static string GetEmailText(MimeMessage msg) - { - return msg.GetTextBody(TextFormat.Plain); - } - } -} diff --git a/QuoteParser/QuoteParser.cs b/QuoteParser/QuoteParser.cs index 0576806..8cedb78 100644 --- a/QuoteParser/QuoteParser.cs +++ b/QuoteParser/QuoteParser.cs @@ -3,7 +3,6 @@ using System.IO; using System.Linq; using QuoteParser.Features; -using static QuoteParser.Parse; using static QuoteParser.Features.QuoteMarkFeature; using KeyPhrasesClass = QuoteParser.Features.KeyPhrases; @@ -137,13 +136,6 @@ private QuoteParser(Builder builder) ); } - public Content Parse(Stream emlFile) - { - var msg = GetMimeMessage(emlFile); - string emailText = GetEmailText(msg); - return Parse(emailText.Lines(), ContainInReplyToHeader(msg)); - } - public Content Parse(IEnumerable lines, bool hasInReplyToEmlHeader = true) { _lines = lines.ToList(); diff --git a/QuoteParser/QuoteParser.csproj b/QuoteParser/QuoteParser.csproj index 23e953e..78d58d9 100644 --- a/QuoteParser/QuoteParser.csproj +++ b/QuoteParser/QuoteParser.csproj @@ -2,19 +2,19 @@ netstandard2.0 - feature[23] + Jeff Camera true - A .NET Standard port of JetBrains' email-parser library, for parsing quoted text from email messages. + A .NET Standard port of JetBrains' email-parser library, for parsing quoted text from email messages. + +Created by feature[23]. QuoteParserLite fork created to drop dependencies. Apache-2.0 - https://github.com/feature23/QuoteParser.NET - https://raw.githubusercontent.com/feature23/QuoteParser.NET/master/logo.png + https://github.com/reallyreadit/QuoteParser.NET + quoteparser email-parser email parse parsing quote reply + QuoteParserLite + reallyread.it, inc. + QuoteParserLite - - - - - From 5b2d898898acc3823353eafe0926269966f06ed7 Mon Sep 17 00:00:00 2001 From: Jeff Date: Sat, 26 Oct 2019 09:36:39 -0400 Subject: [PATCH 2/6] converted tests to use mail text content instead of mime message --- QuoteParser.Tests/EmailTestBase.cs | 13 +- QuoteParser.Tests/QuoteParser.Tests.csproj | 302 +++++++++--------- QuoteParser.Tests/RecTests.cs | 25 +- .../Resources/testEmls/AB/149.eml | 47 --- .../Resources/testEmls/AB/149.txt | 26 ++ .../Resources/testEmls/AB/4237.eml | 47 --- .../Resources/testEmls/AB/4237.txt | 25 ++ .../testEmls/AB/{5370.eml => 5370.txt} | 6 - .../Resources/testEmls/ML/158.eml | 32 -- .../Resources/testEmls/ML/158.txt | 9 + .../Resources/testEmls/ML/17326.eml | 82 ----- .../Resources/testEmls/ML/17326.txt | 21 ++ .../Resources/testEmls/ML/17747.eml | 29 -- .../Resources/testEmls/ML/17747.txt | 30 ++ .../Resources/testEmls/ML/18139.eml | 49 --- .../Resources/testEmls/ML/18139.txt | 91 ++++++ .../Resources/testEmls/ML/196.eml | 39 --- .../Resources/testEmls/ML/196.txt | 13 + .../Resources/testEmls/ML/210.eml | 60 ---- .../Resources/testEmls/ML/210.txt | 36 +++ .../Resources/testEmls/ML/260.eml | 33 -- .../Resources/testEmls/ML/260.txt | 22 ++ .../Resources/testEmls/ML/279.eml | 35 -- .../Resources/testEmls/ML/279.txt | 37 +++ .../Resources/testEmls/ML/31.eml | 60 ---- .../Resources/testEmls/ML/31.txt | 33 ++ .../Resources/testEmls/ML/322.eml | 34 -- .../Resources/testEmls/ML/322.txt | 17 + .../testEmls/ML/{348.eml => 348.txt} | 17 - .../Resources/testEmls/ML/3697.eml | 53 --- .../Resources/testEmls/ML/3697.txt | 31 ++ .../Resources/testEmls/ML/3715.eml | 58 ---- .../Resources/testEmls/ML/3715.txt | 39 +++ .../Resources/testEmls/ML/38.eml | 58 ---- .../Resources/testEmls/ML/38.txt | 31 ++ .../Resources/testEmls/ML/3926.eml | 35 -- .../Resources/testEmls/ML/3926.txt | 10 + .../Resources/testEmls/ML/4298.eml | 27 -- .../Resources/testEmls/ML/4298.txt | 14 + .../Resources/testEmls/ML/43.eml | 45 --- .../Resources/testEmls/ML/43.txt | 49 +++ .../Resources/testEmls/ML/5859.eml | 44 --- .../Resources/testEmls/ML/5859.txt | 8 + .../Resources/testEmls/ML/82.eml | 29 -- .../Resources/testEmls/ML/82.txt | 24 ++ .../Resources/testEmls/ML/85.eml | 75 ----- .../Resources/testEmls/ML/85.txt | 49 +++ .../Resources/testEmls/SL/10.eml | 47 --- .../Resources/testEmls/SL/10.txt | 25 ++ .../Resources/testEmls/SL/1066.eml | 52 --- .../Resources/testEmls/SL/1066.txt | 20 ++ .../Resources/testEmls/SL/1077.eml | 66 ---- .../Resources/testEmls/SL/1077.txt | 41 +++ .../Resources/testEmls/SL/108.eml | 46 --- .../Resources/testEmls/SL/108.txt | 23 ++ .../Resources/testEmls/SL/11461.eml | 69 ---- .../Resources/testEmls/SL/11461.txt | 32 ++ .../Resources/testEmls/SL/17444.eml | 29 -- .../Resources/testEmls/SL/17444.txt | 21 ++ .../Resources/testEmls/SL/17949.eml | 71 ---- .../Resources/testEmls/SL/17949.txt | 42 +++ .../Resources/testEmls/SL/17995.eml | 38 --- .../Resources/testEmls/SL/17995.txt | 12 + .../testEmls/SL/{18075.eml => 18075.txt} | 17 - .../Resources/testEmls/SL/187.eml | 52 --- .../Resources/testEmls/SL/187.txt | 28 ++ .../Resources/testEmls/SL/18762.eml | 43 --- .../Resources/testEmls/SL/18762.txt | 15 + .../Resources/testEmls/SL/20.eml | 37 --- .../Resources/testEmls/SL/20.txt | 20 ++ .../Resources/testEmls/SL/21086.eml | 52 --- .../Resources/testEmls/SL/21086.txt | 15 + .../testEmls/SL/{214.eml => 214.txt} | 18 -- .../Resources/testEmls/SL/21593.eml | 36 --- .../Resources/testEmls/SL/21593.txt | 11 + .../Resources/testEmls/SL/245.eml | 90 ------ .../Resources/testEmls/SL/245.txt | 49 +++ .../Resources/testEmls/SL/259.eml | 85 ----- .../Resources/testEmls/SL/259.txt | 41 +++ .../Resources/testEmls/SL/{26.eml => 26.txt} | 17 - .../testEmls/SL/{3711.eml => 3711.txt} | 18 -- .../Resources/testEmls/SL/374.eml | 60 ---- .../Resources/testEmls/SL/374.txt | 40 +++ .../Resources/testEmls/SL/3997.eml | 55 ---- .../Resources/testEmls/SL/3997.txt | 32 ++ .../Resources/testEmls/SL/4008.eml | 83 ----- .../Resources/testEmls/SL/4008.txt | 43 +++ .../Resources/testEmls/SL/4169.eml | 106 ------ .../Resources/testEmls/SL/4169.txt | 70 ++++ .../Resources/testEmls/SL/427.eml | 54 ---- .../Resources/testEmls/SL/427.txt | 23 ++ .../Resources/testEmls/SL/484.eml | 33 -- .../Resources/testEmls/SL/484.txt | 15 + .../testEmls/SL/{599.eml => 599.txt} | 20 -- .../Resources/testEmls/SL/704.eml | 42 --- .../Resources/testEmls/SL/704.txt | 16 + .../Resources/testEmls/SL/75.eml | 46 --- .../Resources/testEmls/SL/75.txt | 23 ++ .../testEmls/SL/{800.eml => 800.txt} | 27 +- .../testEmls/SL/{880.eml => 880.txt} | 19 -- .../Resources/testEmls/SL/967.eml | 54 ---- .../Resources/testEmls/SL/967.txt | 27 ++ .../testEmls/empty/{102.eml => 102.txt} | 5 - .../testEmls/empty/{1165.eml => 1165.txt} | 5 - .../Resources/testEmls/empty/146.eml | 26 -- .../Resources/testEmls/empty/146.txt | 7 + .../Resources/testEmls/empty/20454.eml | 12 - .../Resources/testEmls/empty/20454.txt | 7 + .../testEmls/empty/{205.eml => 205.txt} | 5 - .../testEmls/empty/{3505.eml => 3505.txt} | 5 - .../Resources/testEmls/empty/93.eml | 37 --- .../Resources/testEmls/empty/93.txt | 26 ++ .../Resources/testEmls/error/136.eml | 44 --- .../Resources/testEmls/error/136.txt | 22 ++ .../testEmls/error/{166.eml => 166.txt} | 5 - .../Resources/testEmls/error/1729.eml | 35 -- .../Resources/testEmls/error/1729.txt | 15 + .../Resources/testEmls/error/17382.eml | 28 -- .../Resources/testEmls/error/17382.txt | 29 ++ .../Resources/testEmls/error/22912.eml | 25 -- .../Resources/testEmls/error/22912.txt | 7 + .../Resources/testEmls/error/3549.eml | 36 --- .../Resources/testEmls/error/3549.txt | 14 + .../testEmls/error/{3953.eml => 3953.txt} | 5 - .../Resources/testEmls/error/8863.eml | 97 ------ .../Resources/testEmls/error/8863.txt | 57 ++++ .../testEmls/error/{9757.eml => 9757.txt} | 15 - .../Resources/testEmls/phrases/17407.eml | 24 -- .../Resources/testEmls/phrases/17407.txt | 4 + .../Resources/testEmls/phrases/2555.eml | 31 -- .../Resources/testEmls/phrases/2555.txt | 9 + .../Resources/testEmls/phrases/92.eml | 19 -- .../Resources/testEmls/phrases/92.txt | 12 + .../Resources/testEmls/recursive/270.eml | 38 --- .../Resources/testEmls/recursive/270.txt | 18 ++ .../testEmls/recursive/{6510.eml => 6510.txt} | 7 - QuoteParser/QuoteParser.cs | 5 + QuoteParser/QuoteParser.csproj | 1 + 138 files changed, 1702 insertions(+), 3150 deletions(-) delete mode 100644 QuoteParser.Tests/Resources/testEmls/AB/149.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/AB/149.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/AB/4237.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/AB/4237.txt rename QuoteParser.Tests/Resources/testEmls/AB/{5370.eml => 5370.txt} (57%) delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/158.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/158.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/17326.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/17326.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/17747.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/17747.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/18139.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/18139.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/196.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/196.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/210.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/210.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/260.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/260.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/279.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/279.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/31.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/31.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/322.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/322.txt rename QuoteParser.Tests/Resources/testEmls/ML/{348.eml => 348.txt} (60%) delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/3697.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/3697.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/3715.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/3715.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/38.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/38.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/3926.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/3926.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/4298.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/4298.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/43.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/43.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/5859.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/5859.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/82.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/82.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/85.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/85.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/10.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/10.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/1066.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/1066.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/1077.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/1077.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/108.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/108.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/11461.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/11461.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/17444.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/17444.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/17949.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/17949.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/17995.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/17995.txt rename QuoteParser.Tests/Resources/testEmls/SL/{18075.eml => 18075.txt} (62%) delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/187.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/187.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/18762.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/18762.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/20.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/20.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/21086.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/21086.txt rename QuoteParser.Tests/Resources/testEmls/SL/{214.eml => 214.txt} (53%) delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/21593.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/21593.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/245.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/245.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/259.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/259.txt rename QuoteParser.Tests/Resources/testEmls/SL/{26.eml => 26.txt} (67%) rename QuoteParser.Tests/Resources/testEmls/SL/{3711.eml => 3711.txt} (53%) delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/374.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/374.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/3997.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/3997.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/4008.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/4008.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/4169.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/4169.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/427.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/427.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/484.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/484.txt rename QuoteParser.Tests/Resources/testEmls/SL/{599.eml => 599.txt} (60%) delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/704.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/704.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/75.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/75.txt rename QuoteParser.Tests/Resources/testEmls/SL/{800.eml => 800.txt} (53%) rename QuoteParser.Tests/Resources/testEmls/SL/{880.eml => 880.txt} (66%) delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/967.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/967.txt rename QuoteParser.Tests/Resources/testEmls/empty/{102.eml => 102.txt} (67%) rename QuoteParser.Tests/Resources/testEmls/empty/{1165.eml => 1165.txt} (95%) delete mode 100644 QuoteParser.Tests/Resources/testEmls/empty/146.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/empty/146.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/empty/20454.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/empty/20454.txt rename QuoteParser.Tests/Resources/testEmls/empty/{205.eml => 205.txt} (64%) rename QuoteParser.Tests/Resources/testEmls/empty/{3505.eml => 3505.txt} (50%) delete mode 100644 QuoteParser.Tests/Resources/testEmls/empty/93.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/empty/93.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/error/136.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/error/136.txt rename QuoteParser.Tests/Resources/testEmls/error/{166.eml => 166.txt} (61%) delete mode 100644 QuoteParser.Tests/Resources/testEmls/error/1729.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/error/1729.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/error/17382.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/error/17382.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/error/22912.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/error/22912.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/error/3549.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/error/3549.txt rename QuoteParser.Tests/Resources/testEmls/error/{3953.eml => 3953.txt} (61%) delete mode 100644 QuoteParser.Tests/Resources/testEmls/error/8863.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/error/8863.txt rename QuoteParser.Tests/Resources/testEmls/error/{9757.eml => 9757.txt} (60%) delete mode 100644 QuoteParser.Tests/Resources/testEmls/phrases/17407.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/phrases/17407.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/phrases/2555.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/phrases/2555.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/phrases/92.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/phrases/92.txt delete mode 100644 QuoteParser.Tests/Resources/testEmls/recursive/270.eml create mode 100644 QuoteParser.Tests/Resources/testEmls/recursive/270.txt rename QuoteParser.Tests/Resources/testEmls/recursive/{6510.eml => 6510.txt} (58%) diff --git a/QuoteParser.Tests/EmailTestBase.cs b/QuoteParser.Tests/EmailTestBase.cs index 840adf4..9ba0b69 100644 --- a/QuoteParser.Tests/EmailTestBase.cs +++ b/QuoteParser.Tests/EmailTestBase.cs @@ -18,17 +18,16 @@ protected EmailTestBase(string folder) protected void Check(int emailNum, QuoteHeader expectedQuoteHeader) { - using (var stream = GetResourceStream(emailNum)) - { - var content = _parser.Value.Parse(stream); - Assert.Equal(expectedQuoteHeader, content.Header); - } + var content = _parser.Value.Parse(GetResourceText(emailNum)); + Assert.Equal(expectedQuoteHeader, content.Header); } - protected Stream GetResourceStream(int emailNum) + protected string GetResourceText(int emailNum) { var asm = typeof(ABTests).Assembly; - return asm.GetManifestResourceStream($"{asm.GetName().Name}.Resources.testEmls.{_folder}.{emailNum}.eml"); + using (var streamReader = new StreamReader(asm.GetManifestResourceStream($"{asm.GetName().Name}.Resources.testEmls.{_folder}.{emailNum}.txt"))) { + return streamReader.ReadToEnd(); + } } protected virtual QuoteParser CreateQuoteParser() diff --git a/QuoteParser.Tests/QuoteParser.Tests.csproj b/QuoteParser.Tests/QuoteParser.Tests.csproj index 533dd83..99fcced 100644 --- a/QuoteParser.Tests/QuoteParser.Tests.csproj +++ b/QuoteParser.Tests/QuoteParser.Tests.csproj @@ -1,4 +1,4 @@ - + netcoreapp2.2 @@ -7,159 +7,159 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/QuoteParser.Tests/RecTests.cs b/QuoteParser.Tests/RecTests.cs index 2414f32..6ddcfcf 100644 --- a/QuoteParser.Tests/RecTests.cs +++ b/QuoteParser.Tests/RecTests.cs @@ -1,4 +1,5 @@ using System.Collections.Generic; +using System.IO; using Xunit; namespace QuoteParser.Tests @@ -41,13 +42,10 @@ public void TestEmail270() "In reply to:" } ); - - using (var stream = GetResourceStream(emailNum)) - { - var content = Parser.Parse(stream); - Assert.Equal(expectedQuoteHeader, content.Header); - Assert.Equal(expectedInnerQuoteHeader, content.Quote?.Header); - } + + var content = Parser.Parse(GetResourceText(emailNum)); + Assert.Equal(expectedQuoteHeader, content.Header); + Assert.Equal(expectedInnerQuoteHeader, content.Quote?.Header); } [Fact] @@ -84,14 +82,11 @@ public void TestEmail6510() "##- Please type your reply above this line -## " } ); - - using (var stream = GetResourceStream(emailNum)) - { - var content = Parser.Parse(stream); - Assert.Equal(expectedQuoteHeader1, content.Header); - Assert.Equal(expectedQuoteHeader2, content.Quote?.Header); - Assert.Equal(expectedQuoteHeader3, content.Quote?.Quote?.Header); - } + + var content = Parser.Parse(GetResourceText(emailNum)); + Assert.Equal(expectedQuoteHeader1, content.Header); + Assert.Equal(expectedQuoteHeader2, content.Quote?.Header); + Assert.Equal(expectedQuoteHeader3, content.Quote?.Quote?.Header); } } } diff --git a/QuoteParser.Tests/Resources/testEmls/AB/149.eml b/QuoteParser.Tests/Resources/testEmls/AB/149.eml deleted file mode 100644 index 6070541..0000000 --- a/QuoteParser.Tests/Resources/testEmls/AB/149.eml +++ /dev/null @@ -1,47 +0,0 @@ -Date: Wed, 04 Jun 2014 12:21:55 +0200 -From: asd asd -References: -In-Reply-To: -Content-Type: multipart/alternative; - boundary="------------070508010607010206050808" - -This is a multi-part message in MIME format. ---------------070508010607010206050808 -Content-Type: text/plain; charset=UTF-8; format=flowed -Content-Transfer-Encoding: 7bit - -Hi asdd, - -asd asd asda sdasdas asda. - -Zhuk Pavel wrote: -> Hello asd, -> -> asdasda asd asd asd! -> -> I'asde asd asd asd asd. -> -> asd asd asd asd. ->> In reply to: ->> ->> *_Email _*: asd asd ->> ->> *_Product_*: asd ->> ->> *_Phone_*: asd asd ->> ->> *_Question_*: asd, ->> ->> I'm asd asd asd asd I've asd asd asd asd asd asd a ->> asd asd asd asdasd asd. ->> -> asdasdasd -> asd asd asd asd-1234. asdasd asd, asdasd - ---------------070508010607010206050808 -Content-Type: text/html; charset=UTF-8 -Content-Transfer-Encoding: 8bit - - - ---------------070508010607010206050808-- diff --git a/QuoteParser.Tests/Resources/testEmls/AB/149.txt b/QuoteParser.Tests/Resources/testEmls/AB/149.txt new file mode 100644 index 0000000..b12763a --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/AB/149.txt @@ -0,0 +1,26 @@ +Hi asdd, + +asd asd asda sdasdas asda. + +Zhuk Pavel wrote: +> Hello asd, +> +> asdasda asd asd asd! +> +> I'asde asd asd asd asd. +> +> asd asd asd asd. +>> In reply to: +>> +>> *_Email _*: asd asd +>> +>> *_Product_*: asd +>> +>> *_Phone_*: asd asd +>> +>> *_Question_*: asd, +>> +>> I'm asd asd asd asd I've asd asd asd asd asd asd a asd asd asd asdasd asd. +>> +> asdasdasd +> asd asd asd asd-1234. asdasd asd, asdasd diff --git a/QuoteParser.Tests/Resources/testEmls/AB/4237.eml b/QuoteParser.Tests/Resources/testEmls/AB/4237.eml deleted file mode 100644 index 30415b3..0000000 --- a/QuoteParser.Tests/Resources/testEmls/AB/4237.eml +++ /dev/null @@ -1,47 +0,0 @@ -Date: Tue, 02 Dec 2014 08:15:43 +0100 -From: asdasd asdads -References: -In-Reply-To: -Content-Type: multipart/alternative; - boundary="------------040307070207050201070803" - -This is a multi-part message in MIME format. ---------------040307070207050201070803 -Content-Type: text/plain; charset=utf-8; format=flowed -Content-Transfer-Encoding: 8bit - - -Am 01.12.2014 um 19:16 schrieb Zhuk Pavel: -> Hi ads, - -Hi asdd! -> -> text text. -> text text text? text text text, text text -> text text, text text text. The issue has been already - -It sdfsdf in sdfsdf! - -sdf sdfsdf - - df - -> sdf, sdf sdf sdfsdf be sdfsdf dfsfd> Thank you. ->> In reply to: ->> ->> s dfsdf ->> -> -> sdfsdf - -sdfsdfsdf - - ---------------040307070207050201070803 -Content-Type: text/html; charset=utf-8 -Content-Transfer-Encoding: 8bit - - - - ---------------040307070207050201070803-- diff --git a/QuoteParser.Tests/Resources/testEmls/AB/4237.txt b/QuoteParser.Tests/Resources/testEmls/AB/4237.txt new file mode 100644 index 0000000..7e9adae --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/AB/4237.txt @@ -0,0 +1,25 @@ + +Am 01.12.2014 um 19:16 schrieb Zhuk Pavel: +> Hi ads, + +Hi asdd! +> +> text text. +> text text text? text text text, text text text text, text text text. The issue has been already + +It sdfsdf in sdfsdf! + +sdf sdfsdf + + df + +> sdf, sdf sdf sdfsdf be sdfsdf dfsfd> Thank you. +>> In reply to: +>> +>> s dfsdf +>> +> +> sdfsdf + +sdfsdfsdf + diff --git a/QuoteParser.Tests/Resources/testEmls/AB/5370.eml b/QuoteParser.Tests/Resources/testEmls/AB/5370.txt similarity index 57% rename from QuoteParser.Tests/Resources/testEmls/AB/5370.eml rename to QuoteParser.Tests/Resources/testEmls/AB/5370.txt index bff1ab2..5d95564 100644 --- a/QuoteParser.Tests/Resources/testEmls/AB/5370.eml +++ b/QuoteParser.Tests/Resources/testEmls/AB/5370.txt @@ -1,9 +1,3 @@ -References: -From: aasd S. asdasd -In-reply-to: -Date: Thu, 15 Jan 2015 21:20:42 +0200 -Content-Type: text/plain - Zhuk Pavel @ 2015-01-15 17:54 SAST: > Hi asd, diff --git a/QuoteParser.Tests/Resources/testEmls/ML/158.eml b/QuoteParser.Tests/Resources/testEmls/ML/158.eml deleted file mode 100644 index 118664d..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/158.eml +++ /dev/null @@ -1,32 +0,0 @@ -From: text twert -Date: Wed, 4 Jun 2014 16:21:36 +0000 -References: <09CC> - <00ff> -In-Reply-To: <00ff> -Accept-Language: en-US -Content-Language: en-US -Content-Type: multipart/alternative; - boundary="_000_09CC9924CC678D499C915F71E0C45D60DE004407mbx021e2nj2exch_" - ---_000_09CC9924CC678D499C915F71E0C45D60DE004407mbx021e2nj2exch_ -Content-Type: text/plain; charset="us-ascii" -Content-Transfer-Encoding: quoted-printable - -Thanks text. text text text text text our text qa text is = -text text text text. - -From: text text text [mailto:text.text@text.com] -Sent: Wednesday, June 04, 2014 12:20 PM -To: 'text text' -Cc: text text; text text -Subject: FW: text text in text- can't text text text - -Hello text, - ---_000_09CC9924CC678D499C915F71E0C45D60DE004407mbx021e2nj2exch_ -Content-Type: text/html; charset="us-ascii" -Content-Transfer-Encoding: quoted-printable - -sdfsdfsdf - ---_000_09CC9924CC678D499C915F71E0C45D60DE004407mbx021e2nj2exch_-- diff --git a/QuoteParser.Tests/Resources/testEmls/ML/158.txt b/QuoteParser.Tests/Resources/testEmls/ML/158.txt new file mode 100644 index 0000000..db3fc58 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/158.txt @@ -0,0 +1,9 @@ +Thanks text. text text text text text our text qa text is text text text text. + +From: text text text [mailto:text.text@text.com] +Sent: Wednesday, June 04, 2014 12:20 PM +To: 'text text' +Cc: text text; text text +Subject: FW: text text in text- can't text text text + +Hello text, diff --git a/QuoteParser.Tests/Resources/testEmls/ML/17326.eml b/QuoteParser.Tests/Resources/testEmls/ML/17326.eml deleted file mode 100644 index bc2ba5a..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/17326.eml +++ /dev/null @@ -1,82 +0,0 @@ -From: text tex -Content-Type: multipart/alternative; boundary="Apple-Mail=_B81A7F49-F112-473B-B59E-40C05ED0A144" -Date: Tue, 20 Oct 2015 16:18:00 +0100 -References: <1183> - ---Apple-Mail=_B81A7F49-F112-473B-B59E-40C05ED0A144 -Content-Transfer-Encoding: quoted-printable -Content-Type: text/plain; - charset=us-ascii - -Hi text - -text text text text text text, text my = -text text text text. text text text text text text text = -text text text text, text text text text. text text = -text text text text text text text text? - -http://text.text.com/text/text = - - -text text -text text - - - -> Begin forwarded message: ->=20 -> From: text text -> Subject: text R123456. text text text text -> Date: 19 October 2015 16:38:23 BST -> To: text@text.text.uk ->=20 -> text text, -> text text text text text. text text text text, = -R123456 text. ->=20 - ---Apple-Mail=_B81A7F49-F112-473B-B59E-40C05ED0A144 -Content-Type: multipart/mixed; - boundary="Apple-Mail=_7429B6E2-6703-4A56-AEB4-C893F1116618" - - ---Apple-Mail=_7429B6E2-6703-4A56-AEB4-C893F1116618 -Content-Transfer-Encoding: 7bit -Content-Type: text/html; - charset=us-ascii - -aasdasd ---Apple-Mail=_7429B6E2-6703-4A56-AEB4-C893F1116618 -Content-Disposition: inline; - filename=image.png -Content-Type: image/png; - x-mac-hide-extension=yes; - x-unix-mode=0644; - name="image.png" -Content-Transfer-Encoding: base64 - -asdasd ---Apple-Mail=_7429B6E2-6703-4A56-AEB4-C893F1116618 -Content-Transfer-Encoding: quoted-printable -Content-Type: text/html; - charset=us-ascii - -= - ---Apple-Mail=_7429B6E2-6703-4A56-AEB4-C893F1116618 -Content-Disposition: inline; - filename=asd-asd.pdf -Content-Type: application/pdf; - name="asd-asd.pdf" -Content-Transfer-Encoding: base64 - -asdasd ---Apple-Mail=_7429B6E2-6703-4A56-AEB4-C893F1116618 -Content-Transfer-Encoding: 7bit -Content-Type: text/html; - charset=us-ascii - -asdasd ---Apple-Mail=_7429B6E2-6703-4A56-AEB4-C893F1116618-- - ---Apple-Mail=_B81A7F49-F112-473B-B59E-40C05ED0A144-- diff --git a/QuoteParser.Tests/Resources/testEmls/ML/17326.txt b/QuoteParser.Tests/Resources/testEmls/ML/17326.txt new file mode 100644 index 0000000..8c9af14 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/17326.txt @@ -0,0 +1,21 @@ +Hi text + +text text text text text text, text my text text text text. text text text text text text text text text text text, text text text text. text text text text text text text text text text? + +http://text.text.com/text/text + +text text +text text + + + +> Begin forwarded message: +> +> From: text text +> Subject: text R123456. text text text text +> Date: 19 October 2015 16:38:23 BST +> To: text@text.text.uk +> +> text text, +> text text text text text. text text text text, R123456 text. +> diff --git a/QuoteParser.Tests/Resources/testEmls/ML/17747.eml b/QuoteParser.Tests/Resources/testEmls/ML/17747.eml deleted file mode 100644 index f4c0059..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/17747.eml +++ /dev/null @@ -1,29 +0,0 @@ -From: text -References: <1R> <46> - <28> <1RR> -In-Reply-To: <1RR> -Date: Fri, 30 Oct 2015 16:22:58 +0300 -Content-Type: multipart/alternative; boundary=001a113d5d48995a6b052352536a - ---001a113d5d48995a6b052352536a -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: base64 - -MS4gICAgICAg0YLQtdC60YHRgiDQsiDRgtC10LrRgdGCINGC0LXQutGB0YINCg0KMi4gICAgICAg -0YLQtdC60YHRgiDRgtC10LrRgdGCINGC0LXQutGB0YIg0YLQtdC60YHRgi3RgtC10LrRgdGCINGC -0LXQutGB0YIg0YLQtdC60YHRgiDRgtC10LrRgdGCINGC0LXQutGB0YINCtCyINGC0LXQutGB0YIh -DQoNCg0KDQoNCg0KKi0tLSoNCg0KKtChINGC0LXQutGB0YIsINGC0LXQutGB0YIg0YLQtdC60YHR -giEqDQoNCg0KKtCc0L7QsS7RgtC10LsuOiArNyAoMTIzKSAxMjMtMTIzNCoqUyoqa3lwZTogdGV4 -dCoNCg0KDQoNCipGcm9tOiogdGV4dCB0ZXh0ICh0ZXh0IHRleHQpIFttYWlsdG86DQp0ZXh0LnRl -eHRAdGV4dC5jb21dDQoqU2VudDoqIEZyaWRheSwgT2N0b2JlciAzMCwgMjAxNSAyOjU4IFBNDQoq -VG86KiDRgtC10LrRgdGCINGC0LXQutGB0YINCipTdWJqZWN0OiogW3RleHQgdGV4dF0gUmU6INGC -0LXQutGB0YIg0YEg0YLQtdC60YHRgg0KDQoNCg0KIyMtIFBsZWFzZSB0eXBlIHlvdXIgcmVwbHkg -YWJvdmUgdGhpcyBsaW5lIC0jIw0KDQpZb3VyIHJlcXVlc3QgKDEyMzQpIGhhcyBiZWVuIHVwZGF0 -ZWQuIFRvIGFkZCB0ZXh0IHRleHQsIHRleHQgdG8NCnRleHQgdi4= ---001a113d5d48995a6b052352536a -Content-Type: text/html; charset=UTF-8 -Content-Transfer-Encoding: quoted-printable - - - ---001a113d5d48995a6b052352536a-- diff --git a/QuoteParser.Tests/Resources/testEmls/ML/17747.txt b/QuoteParser.Tests/Resources/testEmls/ML/17747.txt new file mode 100644 index 0000000..b261f5f --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/17747.txt @@ -0,0 +1,30 @@ +1. текст в текст текст + +2. текст текст текст текст-текст текст текст текст текст +в текст! + + + + + +*---* + +*С текст, текст текст!* + + +*Моб.тел.: +7 (123) 123-1234**S**kype: text* + + + +*From:* text text (text text) [mailto: +text.text@text.com] +*Sent:* Friday, October 30, 2015 2:58 PM +*To:* текст текст +*Subject:* [text text] Re: текст с текст + + + +##- Please type your reply above this line -## + +Your request (1234) has been updated. To add text text, text to +text v. \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/ML/18139.eml b/QuoteParser.Tests/Resources/testEmls/ML/18139.eml deleted file mode 100644 index 99fa07c..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/18139.eml +++ /dev/null @@ -1,49 +0,0 @@ -From: "text, text P." -Date: Sat, 7 Nov 2015 13:15:06 +0000 -References: - - - <838> - -Accept-Language: en-US -Content-Language: en-US -Content-Type: multipart/alternative; - boundary="_000_a7acf2e0bd984dda9947775b8cb39f9bAPLEX06dom1jhuapledu_" - ---_000_a7acf2e0bd984dda9947775b8cb39f9bAPLEX06dom1jhuapledu_ -Content-Type: text/plain; charset="utf-8" -Content-Transfer-Encoding: base64 - -dGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0IHRleHQgdGV4dC4gdGV4dCB0ZXh0IHRleHQgdGV4dCB0 -ZXh0IHRleHQgLg0KDQp0ZXh0IHRleHQgdGV4dCB0ZXh0DQoNCjA2IE5vdiAyMDE1IDE1OjAwOjQ1 -DQoNCnRleHQgdGV4dCB0ZXh0IHRleHQuLi4NCg0KMDYgTm92IDIwMTUgMTU6MDA6NDUNCg0KdGV4 -dCB0ZXh0IHRleHQgdGV4dC4uLg0KDQowNiBOb3YgMjAxNSAxNTowMDo0NQ0KDQp0ZXh0IHRleHQg -dGV4dCB0ZXh0Li4uDQoNCjA2IE5vdiAyMDE1IDE1OjAwOjQ1DQoNCnRleHQgdGV4dCB0ZXh0IHRl -eHQuLi4NCg0KMDYgTm92IDIwMTUgMTU6MDA6NDUNCg0KdGV4dCB0ZXh0IHRleHQgdGV4dC4uLg0K -DQowNiBOb3YgMjAxNSAxNTowMDo0NQ0KDQp0ZXh0IHRleHQgdGV4dCB0ZXh0Li4uDQoNCjA2IE5v -diAyMDE1IDE1OjAwOjQ1DQoNCnRleHQgdGV4dCB0ZXh0IChlLW1haWwgJiB0ZXh0IHRleHQpLi4u -DQoNCjA2IE5vdiAyMDE1IDE1OjAwOjQ1DQoNCnRleHQgdGV4dCwgdGV4dCwgdGV4dCB0ZXh0Li4u -DQoNCjA2IE5vdiAyMDE1IDE1OjAwOjQ1DQoNCnRleHQgdGV4dCB0ZXh0Li4uDQoNCjA2IE5vdiAy -MDE1IDE1OjAwOjQ1DQoNCnRleHQgdGV4dCB0ZXh0Li4uDQoNCjA2IE5vdiAyMDE1IDEzOjQ0OjMx -DQoNCnRleHQgdGV4dCB0ZXh0IHRleHQgdGV4dCBiYzJmYmZjNy05OWI2LTRkNzUtc2EwYS1kMjNm -YWUxM2IzY3UNCg0KMDYgTm92IDIwMTUgMTM6NDQ6MzENCg0KdGV4dCB0ZXh0IHRleHQgdGV4dCB0 -ZXh0IGJjMmZiZmM3LTk5YjYtNGQ3NS1zYTBhLWQyM2ZhZTEzYjNjdQ0KDQowNiBOb3YgMjAxNSAx -Mzo0NDozMQ0KDQp0ZXh0IHRleHQgdGV4dCB0ZXh0IHRleHQgYmMyZmJmYzctOTliNi00ZDc1LXNh -MGEtZDIzZmFlMTNiM2N1DQoNCjA2IE5vdiAyMDE1IDEzOjQ0OjMxDQoNCnRleHQgdGV4dCB0ZXh0 -IHRleHQgdGV4dCBiYzJmYmZjNy05OWI2LTRkNzUtc2EwYS1kMjNmYWUxM2IzY3UNCg0KMDYgTm92 -IDIwMTUgMTM6NDQ6MzENCg0KdGV4dCB0ZXh0IHRleHQgdGV4dA0KDQowNiBOb3YgMjAxNSAxNTow -MDo0NA0KDQp0ZXh0IHRleHQgdGV4dCB0ZXh0DQoNCjA2IE5vdiAyMDE1IDE0OjUxOjQ4DQoNCnRl -eHQgdGV4dCB0ZXh0IHRleHQuLi4NCg0KMDYgTm92IDIwMTUgMTQ6NTE6NDgNCg0KdGV4dCB0ZXh0 -IHRleHQgdGV4dC4uLg0KDQowNiBOb3YgMjAxNSAxNDo1MTo0OA0KDQp0ZXh0IHRleHQgdGV4dCB0 -ZXh0Li4uDQoNCjA2IE5vdiAyMDE1IDE0OjUxOjQ4DQoNCg0KdGV4dCB0ZXh0DQoNCkZyb206IHRl -eHQsIHRleHQgUC4NClNlbnQ6IEZyaWRheSwgTm92ZW1iZXIgMDYsIDIwMTUgMzo0NCBQTQ0KVG86 -ICd0ZXh0IHRleHQnDQpTdWJqZWN0OiBSRTogW3RleHQgdGV4dF0gUmU6IHRleHQgdGV4dCB0ZXh0 -IHRleHQgLSB0ZXh0IHRleHQgdGV4dCB0ZXh0IHRleHQNCg0Kc29tZSB0ZXh0 - ---_000_a7acf2e0bd984dda9947775b8cb39f9bAPLEX06dom1jhuapledu_ -Content-Type: text/html; charset="utf-8" -Content-Transfer-Encoding: base64 - -fghfghfhg - ---_000_a7acf2e0bd984dda9947775b8cb39f9bAPLEX06dom1jhuapledu_-- diff --git a/QuoteParser.Tests/Resources/testEmls/ML/18139.txt b/QuoteParser.Tests/Resources/testEmls/ML/18139.txt new file mode 100644 index 0000000..a507fd9 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/18139.txt @@ -0,0 +1,91 @@ +text text text text text text text. text text text text text text . + +text text text text + +06 Nov 2015 15:00:45 + +text text text text... + +06 Nov 2015 15:00:45 + +text text text text... + +06 Nov 2015 15:00:45 + +text text text text... + +06 Nov 2015 15:00:45 + +text text text text... + +06 Nov 2015 15:00:45 + +text text text text... + +06 Nov 2015 15:00:45 + +text text text text... + +06 Nov 2015 15:00:45 + +text text text (e-mail & text text)... + +06 Nov 2015 15:00:45 + +text text, text, text text... + +06 Nov 2015 15:00:45 + +text text text... + +06 Nov 2015 15:00:45 + +text text text... + +06 Nov 2015 13:44:31 + +text text text text text bc2fbfc7-99b6-4d75-sa0a-d23fae13b3cu + +06 Nov 2015 13:44:31 + +text text text text text bc2fbfc7-99b6-4d75-sa0a-d23fae13b3cu + +06 Nov 2015 13:44:31 + +text text text text text bc2fbfc7-99b6-4d75-sa0a-d23fae13b3cu + +06 Nov 2015 13:44:31 + +text text text text text bc2fbfc7-99b6-4d75-sa0a-d23fae13b3cu + +06 Nov 2015 13:44:31 + +text text text text + +06 Nov 2015 15:00:44 + +text text text text + +06 Nov 2015 14:51:48 + +text text text text... + +06 Nov 2015 14:51:48 + +text text text text... + +06 Nov 2015 14:51:48 + +text text text text... + +06 Nov 2015 14:51:48 + + +text text + +From: text, text P. +Sent: Friday, November 06, 2015 3:44 PM +To: 'text text' +Subject: RE: [text text] Re: text text text text - text text text text text + +some text \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/ML/196.eml b/QuoteParser.Tests/Resources/testEmls/ML/196.eml deleted file mode 100644 index b300959..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/196.eml +++ /dev/null @@ -1,39 +0,0 @@ -From: sdf sdf -Date: Thu, 5 Jun 2014 14:19:49 +0000 -References: - <538F> -Accept-Language: en-US -Content-Language: en-US -Content-Type: multipart/alternative; - boundary="_000_A4E3311A96F70A4AB36BD8425FF0DE30B4A673ORD2MBX04Cmex05ml_" - - ---_000_A4E3311A96F70A4AB36BD8425FF0DE30B4A673ORD2MBX04Cmex05ml_ -Content-Type: text/plain; charset="iso-8859-1" -Content-Transfer-Encoding: quoted-printable - -You didn't text my text text text text on text text or a text= -x? I text text to text text text text, text text text text text ch= -textin text text text text text text. text texttext. - -Thanks, -text - -From: text text -Sent: Wednesday, June 04, 2014 2:46 PM -To: 'text text' -Subject: RE: text-text text text text text tex tex= -text - -Thank you text, - - - ---_000_A4E3311A96F70A4AB36BD8425FF0DE30B4A673ORD2MBX04Cmex05ml_ -Content-Type: text/html; charset="iso-8859-1" -Content-Transfer-Encoding: quoted-printable - - - - ---_000_A4E3311A96F70A4AB36BD8425FF0DE30B4A673ORD2MBX04Cmex05ml_-- diff --git a/QuoteParser.Tests/Resources/testEmls/ML/196.txt b/QuoteParser.Tests/Resources/testEmls/ML/196.txt new file mode 100644 index 0000000..fc1d5ba --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/196.txt @@ -0,0 +1,13 @@ +You didn't text my text text text text on text text or a textx? I text text to text text text text, text text text text text chtextin text text text text text text. text texttext. + +Thanks, +text + +From: text text +Sent: Wednesday, June 04, 2014 2:46 PM +To: 'text text' +Subject: RE: text-text text text text text tex textext + +Thank you text, + + diff --git a/QuoteParser.Tests/Resources/testEmls/ML/210.eml b/QuoteParser.Tests/Resources/testEmls/ML/210.eml deleted file mode 100644 index c0978e1..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/210.eml +++ /dev/null @@ -1,60 +0,0 @@ -From: "text text" -References: <4DB2> -In-Reply-To: <4DB2> -Date: Fri, 6 Jun 2014 13:39:40 +0400 -Content-Type: multipart/alternative; - boundary="----=_NextPart_000_005C_01CF818C.C48886C0" -Content-Language: en-us - -This is a multi-part message in MIME format. - -------=_NextPart_000_005C_01CF818C.C48886C0 -Content-Type: text/plain; - charset="us-ascii" -Content-Transfer-Encoding: 7bit - -Hello text text textm, - - - -text text text text text text text text text text text text text text -text.text.text text. text, text texttext text text -text text text text text text. - - - -text, - - - -text text - -text text - -text, text - -http://www.text.com - -"text text text!" - - - -From: text text [mailto:text.text@text.com] -Sent: Thursday, June 05, 2014 2:11 PM -To: text.text@text.com -Cc: text text; text text -Subject: text of text text text & text -Importance: High - - - -Hi text, - -------=_NextPart_000_005C_01CF818C.C48886C0 -Content-Type: text/html; - charset="us-ascii" -Content-Transfer-Encoding: quoted-printable - -sdfsdfsdf -------=_NextPart_000_005C_01CF818C.C48886C0-- - diff --git a/QuoteParser.Tests/Resources/testEmls/ML/210.txt b/QuoteParser.Tests/Resources/testEmls/ML/210.txt new file mode 100644 index 0000000..f74441f --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/210.txt @@ -0,0 +1,36 @@ +Hello text text textm, + + + +text text text text text text text text text text text text text text +text.text.text text. text, text texttext text text +text text text text text text. + + + +text, + + + +text text + +text text + +text, text + +http://www.text.com + +"text text text!" + + + +From: text text [mailto:text.text@text.com] +Sent: Thursday, June 05, 2014 2:11 PM +To: text.text@text.com +Cc: text text; text text +Subject: text of text text text & text +Importance: High + + + +Hi text, diff --git a/QuoteParser.Tests/Resources/testEmls/ML/260.eml b/QuoteParser.Tests/Resources/testEmls/ML/260.eml deleted file mode 100644 index 70904aa..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/260.eml +++ /dev/null @@ -1,33 +0,0 @@ -From: test test -Date: Tue, 10 Jun 2014 16:30:39 +0000 -References: <5182> - -In-Reply-To: -Accept-Language: en-US -Content-Language: en-US -Content-Type: multipart/alternative; - boundary="_000_a3139510917a44fcb4c2c01752ccea3bBLUPR04MB436namprd04pro_" - ---_000_a3139510917a44fcb4c2c01752ccea3bBLUPR04MB436namprd04pro_ -Content-Type: text/plain; charset="utf-8" -Content-Transfer-Encoding: base64 - -dGVzdCB0ZXN0IHRlc3QgdGVzdCB0aGF0IGlzIHRlc3QgdGVzdCB0ZXN0IHRlc3QgdGVzdCB0ZXN0 -IHRlc3QgdGVzdCB0ZXN0LiAgSXQgbG9va3MgbGlrZSB0aGV5IGhhdmVu4oCZdCB0ZXN0IHRlc3Qg -dGVzdCB0ZXN0IHRlc3QgdGVzdCB0ZXN0IHRlc3QuICB0ZXN0IHRlc3QgdGVzdCB0ZXN0IHRlc3Qg -dGVzdCB0byBkbyBpdCB0ZXN0IHRlc3QgeW91IHRlc3QgdGVzdCB0ZXN0IHRlc3QgdGVzdCB0ZXN0 -Lg0KDQp0ZXN0IHRlc3QNCnRlc3QgdGVzdCB0ZXN0DQp0ZXN0IHRlc3QNCg0KdGVzdCB0ZXN0DQp0 -ZXN0IHRlc3QgdGVzdCB0ZXN0IHRlc3QsIHRlc3QgNzAwDQp0ZXN0LCBPTiBNNUggM003IHRlc3QN -CnRlc3QgICAgICsxIDEyMyAxMjMgMTIzMw0KdGVzdCAgICAgKzEgMTIzIDEyMyAxMjMzDQp0ZXN0 -ICAgKzEgMTIzIDEyMyAxMjMzDQp0ZXN0QHRlc3QudGVzdA0KaHR0cDovL3d3dy50ZXN0LmNvbQ0K -dGVzdCB0ZXN0DQpGcm9tOiB0ZXN0IHRlc3QgW21haWx0bzp0ZXN0LXRlc3RAdGVzdC5jb21dDQpT -ZW50OiBUdWVzZGF5LCBKdW5lIDEwLCAyMDE0IDEyOjExIFBNDQpUbzogdGVzdCB0ZXN0DQpDYzog -dGVzdCB0ZXN0DQpTdWJqZWN0OiBSZTogdGVzdCB0ZXN0IHRlc3QNCg0KSGVsbG8gdGVzdCw= - ---_000_a3139510917a44fcb4c2c01752ccea3bBLUPR04MB436namprd04pro_ -Content-Type: text/html; charset="utf-8" -Content-Transfer-Encoding: base64 - -sdfsdfsdf - ---_000_a3139510917a44fcb4c2c01752ccea3bBLUPR04MB436namprd04pro_-- diff --git a/QuoteParser.Tests/Resources/testEmls/ML/260.txt b/QuoteParser.Tests/Resources/testEmls/ML/260.txt new file mode 100644 index 0000000..02917b3 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/260.txt @@ -0,0 +1,22 @@ +test test test test that is test test test test test test test test test. It looks like they haven’t test test test test test test test test. test test test test test test to do it test test you test test test test test test. + +test test +test test test +test test + +test test +test test test test test, test 700 +test, ON M5H 3M7 test +test +1 123 123 1233 +test +1 123 123 1233 +test +1 123 123 1233 +test@test.test +http://www.test.com +test test +From: test test [mailto:test-test@test.com] +Sent: Tuesday, June 10, 2014 12:11 PM +To: test test +Cc: test test +Subject: Re: test test test + +Hello test, \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/ML/279.eml b/QuoteParser.Tests/Resources/testEmls/ML/279.eml deleted file mode 100644 index d42cb3e..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/279.eml +++ /dev/null @@ -1,35 +0,0 @@ -From: text text -Date: Wed, 11 Jun 2014 08:45:36 +0000 -References: <3266> - -In-Reply-To: -Accept-Language: en-US, en-GB -Content-Language: en-US -Content-Type: multipart/alternative; - boundary="_000_C75232E51C04834C9BD846FDA96E30948F0E4F43CAMBLA313pacons_" - ---_000_C75232E51C04834C9BD846FDA96E30948F0E4F43CAMBLA313pacons_ -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: base64 - -SGksDQoNCg0KDQpJIHRleHQgdGV4dCB0ZXh0IHRvIHRleHQgdGV4dC4gdGV4dCwgSSB0ZXh0IHRl -eHQgdG8gdGV4dCB0ZXh0IHRleHQgb2YgdGV4dCB0ZXh0IHRleHQuIEkgdGV4dCB0byB0ZXh0IHRl -eHQgdGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0IGF0OiBodHRwOi8vdGV4dC50ZXh0LmNvbS90ZXh0 -L3RleHQ0L3RleHQrb3IrdGV4dCt0ZXh0K3RleHQrdGV4dCt0ZXh0K3RleHQgLCB0ZXh0IHRleHQg -dGV4dCB0ZXh0IHRleHQ6DQoNCg0KDQoxLiAgICAgICB0ZXh0IHRleHQgdG8gdGV4dCAxOiBJIHRl -eHQgdGV4dCB0ZXh0LTEuMS50ZXh0DQoNCjIuICAgICAgIHRleHQgdGV4dCB0byB0ZXh0IDI6IEkg -dGV4dOKAmXQgdGV4dCB0ZXh0N3cudGV4dCwgdGV4dCB0ZXh0IHRleHQ2dy50ZXh0LiB0ZXh0IHRl -eHQgdGV4dCB0ZXh0IGl0ZXh0IOKAnHRleHQgdGV4dCB0ZXh0IHRleHQuIHRleHQgdGV4dCAndGV4 -dDYn4oCdLg0KDQoNCg0KdGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0IHRleHQuDQoNCg0KDQp0ZXh0 -LA0KDQp0ZXh0DQoNCg0KDQpGcm9tOiB0ZXh0IHRleHQgW21haWx0bzp0ZXh0LXRleHRAdGV4dC5j -b21dDQoNClNlbnQ6IFR1ZSAyNyBNYXkgMjAxNCAxODo0Ng0KDQpUbzogdGV4dCB0ZXh0DQoNClN1 -YmplY3Q6IFt0ZXh0LTEyMzRdIHRleHQndCB0ZXh0IHRleHQuIHRleHQgdGV4dCB0ZXh0DQoNCg0K -DQpPbiBNYXkgMjcsIDIwMTQgNToxNjoyMCBQTSwgYW5vdGhlciB1c2VyICh0ZXh0LnRleHRAdGV4 -dC5jb20pIHdyb3RlOg0KDQp0ZXh0J3QgdGV4dCB0ZXh0LiB0ZXh0IHRleHQgdGV4dA== ---_000_C75232E51C04834C9BD846FDA96E30948F0E4F43CAMBLA313pacons_ -Content-Type: text/html; charset=UTF-8 -Content-Transfer-Encoding: base64 - -fghfghfgh ---_000_C75232E51C04834C9BD846FDA96E30948F0E4F43CAMBLA313pacons_-- - diff --git a/QuoteParser.Tests/Resources/testEmls/ML/279.txt b/QuoteParser.Tests/Resources/testEmls/ML/279.txt new file mode 100644 index 0000000..36406d3 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/279.txt @@ -0,0 +1,37 @@ +Hi, + + + +I text text text to text text. text, I text text to text text text of text text text. I text to text text text text text text text at: http://text.text.com/text/text4/text+or+text+text+text+text+text+text , text text text text text: + + + +1. text text to text 1: I text text text-1.1.text + +2. text text to text 2: I text’t text text7w.text, text text text6w.text. text text text text itext “text text text text. text text 'text6'”. + + + +text text text text text text. + + + +text, + +text + + + +From: text text [mailto:text-text@text.com] + +Sent: Tue 27 May 2014 18:46 + +To: text text + +Subject: [text-1234] text't text text. text text text + + + +On May 27, 2014 5:16:20 PM, another user (text.text@text.com) wrote: + +text't text text. text text text \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/ML/31.eml b/QuoteParser.Tests/Resources/testEmls/ML/31.eml deleted file mode 100644 index b185b74..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/31.eml +++ /dev/null @@ -1,60 +0,0 @@ -From: "asd asd" -References: <5106> -In-Reply-To: <5106> -Date: Tue, 27 May 2014 07:50:29 -0400 -Content-Type: multipart/alternative; - boundary="----=_NextPart_000_001A_01CF7980.54959E20" -Content-Language: en-us - -This is a multi-part message in MIME format. - -------=_NextPart_000_001A_01CF7980.54959E20 -Content-Type: text/plain; - charset="UTF-8" -Content-Transfer-Encoding: quoted-printable - -The text text text text. It text text text a DNS text = -text text text text. text can text text text. - -=20 - -text, - -text text - -text LLC - -(239) 789-1234 x123 - -=20 - -text text, text, text and text - -http://www.text.com http://www.text.com - -=20 - -=20 - -From: text text [mailto:text-text@text.com]=20 -Sent: Monday, May 26, 2014 11:13 AM -To: text@text.com -Subject: [text-6432] text text text, text to text in to = -text.com - -=20 - -On May 26, 2014 7:12:55 PM, another user (text text) wrote: - - -text text text, text to text in to text.com - -------=_NextPart_000_001A_01CF7980.54959E20 -Content-Type: text/html; - charset="UTF-8" -Content-Transfer-Encoding: quoted-printable - - -------=_NextPart_000_001A_01CF7980.54959E20-- - - diff --git a/QuoteParser.Tests/Resources/testEmls/ML/31.txt b/QuoteParser.Tests/Resources/testEmls/ML/31.txt new file mode 100644 index 0000000..6c750b9 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/31.txt @@ -0,0 +1,33 @@ +The text text text text. It text text text a DNS text text text text text. text can text text text. + + + +text, + +text text + +text LLC + +(239) 789-1234 x123 + + + +text text, text, text and text + +http://www.text.com http://www.text.com + + + + + +From: text text [mailto:text-text@text.com] +Sent: Monday, May 26, 2014 11:13 AM +To: text@text.com +Subject: [text-6432] text text text, text to text in to text.com + + + +On May 26, 2014 7:12:55 PM, another user (text text) wrote: + + +text text text, text to text in to text.com diff --git a/QuoteParser.Tests/Resources/testEmls/ML/322.eml b/QuoteParser.Tests/Resources/testEmls/ML/322.eml deleted file mode 100644 index f2e498b..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/322.eml +++ /dev/null @@ -1,34 +0,0 @@ -In-Reply-To: -References: -From: text.text@text.it -Date: Fri, 13 Jun 2014 12:16:34 +0200 -Content-Type: multipart/alternative; boundary="=_alternative 003872CCC1257CF6_=" - -Questo e un messaggio multiparte in formato MIME. ---=_alternative 003872CCC1257CF6_= -Content-Type: text/plain; charset="US-ASCII" - -Hello text -any text text the text? text text text text text text text text -text? -text text text text text text text. -Bye -text text - - - -Da: text text -Per: text.text@text.it -Data: 11/06/2014 19.16 -Oggetto: Re: text text text? - - - -text text,text text text text.text, text text text text - ---=_alternative 003872CCC1257CF6_= -Content-Type: text/html; charset="US-ASCII" - - -fhfghfgh ---=_alternative 003872CCC1257CF6_=-- diff --git a/QuoteParser.Tests/Resources/testEmls/ML/322.txt b/QuoteParser.Tests/Resources/testEmls/ML/322.txt new file mode 100644 index 0000000..884b782 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/322.txt @@ -0,0 +1,17 @@ +Hello text +any text text the text? text text text text text text text text +text? +text text text text text text text. +Bye +text text + + + +Da: text text +Per: text.text@text.it +Data: 11/06/2014 19.16 +Oggetto: Re: text text text? + + + +text text,text text text text.text, text text text text diff --git a/QuoteParser.Tests/Resources/testEmls/ML/348.eml b/QuoteParser.Tests/Resources/testEmls/ML/348.txt similarity index 60% rename from QuoteParser.Tests/Resources/testEmls/ML/348.eml rename to QuoteParser.Tests/Resources/testEmls/ML/348.txt index e800088..db18ea6 100644 --- a/QuoteParser.Tests/Resources/testEmls/ML/348.eml +++ b/QuoteParser.Tests/Resources/testEmls/ML/348.txt @@ -1,13 +1,3 @@ -In-Reply-To: -References: -From: asd.asd@asd.it -Date: Mon, 16 Jun 2014 12:41:46 +0200 -Content-Type: multipart/alternative; boundary="=_alternative 003AC15BC1257CF9_=" - -Questo e un messaggio multiparte in formato MIME. ---=_alternative 003AC15BC1257CF9_= -Content-Type: text/plain; charset="US-ASCII" - Hello asd I text text text text text text, text text, text a text text and text text text. text text text text text text text @@ -36,10 +26,3 @@ Oggetto: Re: text text some text, - ---=_alternative 003AC15BC1257CF9_= -Content-Type: text/html; charset="US-ASCII" - - -asdasdasd ---=_alternative 003AC15BC1257CF9_=-- diff --git a/QuoteParser.Tests/Resources/testEmls/ML/3697.eml b/QuoteParser.Tests/Resources/testEmls/ML/3697.eml deleted file mode 100644 index d7a8a27..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/3697.eml +++ /dev/null @@ -1,53 +0,0 @@ -From: test test -Content-Type: multipart/alternative; boundary="Apple-Mail=_A968DCA5-66A0-41C2-B916-587092BC17A9" -Date: Mon, 17 Nov 2014 18:14:30 +0300 -References: <05c> - ---Apple-Mail=_A968DCA5-66A0-41C2-B916-587092BC17A9 -Content-Transfer-Encoding: quoted-printable -Content-Type: text/plain; - charset=utf-8 - - -Hello, - -I=E2=80=99m test test test to test v tests test are test = -test test test test test test. - -Thank you. --- -test test -=20 -QA Engineer -test test -test -http://www.test.com -"test test test!" - - - - ->=20 -> From: test test [mailto:test@test.com ]=20= - -> Sent: Friday, November 14, 2014 8:40 AM -> To: test@test.com -> Subject: test test test to test my test test for test test test = -test -> =20 -> some text -> =20 -> =20 -> =20 -> =20 -> =20 - - ---Apple-Mail=_A968DCA5-66A0-41C2-B916-587092BC17A9 -Content-Transfer-Encoding: quoted-printable -Content-Type: text/html; - charset=utf-8 - -= - ---Apple-Mail=_A968DCA5-66A0-41C2-B916-587092BC17A9-- diff --git a/QuoteParser.Tests/Resources/testEmls/ML/3697.txt b/QuoteParser.Tests/Resources/testEmls/ML/3697.txt new file mode 100644 index 0000000..5e88d9d --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/3697.txt @@ -0,0 +1,31 @@ + +Hello, + +I’m test test test to test v tests test are test test test test test test test. + +Thank you. +-- +test test + +QA Engineer +test test +test +http://www.test.com +"test test test!" + + + + +> +> From: test test [mailto:test@test.com ] +> Sent: Friday, November 14, 2014 8:40 AM +> To: test@test.com +> Subject: test test test to test my test test for test test test test +> +> some text +> +> +> +> +> + diff --git a/QuoteParser.Tests/Resources/testEmls/ML/3715.eml b/QuoteParser.Tests/Resources/testEmls/ML/3715.eml deleted file mode 100644 index c777abd..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/3715.eml +++ /dev/null @@ -1,58 +0,0 @@ -In-Reply-To: -References: - <05d3> - -Date: Tue, 18 Nov 2014 02:45:07 +0400 -From: text text -Content-Type: multipart/alternative; boundary=001a11345d76fc2e2b050815ba62 - ---001a11345d76fc2e2b050815ba62 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: quoted-printable - -Hi text, - -Please, text text text text text text text. - -texttext text. - - ---=20 -text text -text engineer -texttext, text -http://www.text.com -"text text text!" - - -> -> -> -> -> -> -> *From:* text text [mailto:text.text@text.com] -> *Sent:* Thursday, November 13, 2014 11:15 AM -> *To:* text@text.com -> *Subject:* text text text text text -> -> -> -> text texttext text -> -> - - ---=20 -text text -text text -text, text -http://www.text.com -"text text text!" - ---001a11345d76fc2e2b050815ba62 -Content-Type: text/html; charset=UTF-8 -Content-Transfer-Encoding: quoted-printable - -asdsad ---001a11345d76fc2e2b050815ba62-- diff --git a/QuoteParser.Tests/Resources/testEmls/ML/3715.txt b/QuoteParser.Tests/Resources/testEmls/ML/3715.txt new file mode 100644 index 0000000..cf49d31 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/3715.txt @@ -0,0 +1,39 @@ +Hi text, + +Please, text text text text text text text. + +texttext text. + + +-- +text text +text engineer +texttext, text +http://www.text.com +"text text text!" + + +> +> +> +> +> +> +> *From:* text text [mailto:text.text@text.com] +> *Sent:* Thursday, November 13, 2014 11:15 AM +> *To:* text@text.com +> *Subject:* text text text text text +> +> +> +> text texttext text +> +> + + +-- +text text +text text +text, text +http://www.text.com +"text text text!" diff --git a/QuoteParser.Tests/Resources/testEmls/ML/38.eml b/QuoteParser.Tests/Resources/testEmls/ML/38.eml deleted file mode 100644 index d4ac2c7..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/38.eml +++ /dev/null @@ -1,58 +0,0 @@ -From: text text -Date: Tue, 27 May 2014 13:20:45 +0000 -References: <906> - -In-Reply-To: -Accept-Language: en-US -Content-Language: en-US -Content-Type: multipart/alternative; - boundary="_000_e97e70fb604f465799d61c98bd94c0c2orangevxclocal_" - - ---_000_e97e70fb604f465799d61c98bd94c0c2orangevxclocal_ -Content-Type: text/plain; charset="utf-8" -Content-Transfer-Encoding: quoted-printable - -text text of the text text IP text text text or text text.= - I text text text text text our text text text text text = -in text in text text. Is the text on the text text? - -text, - - -text text -text text -text text -400 text text -text, FL 11123 -text: (770) 123-4567 -text@text.com -www.text.com - - - -From: text text [mailto:text.text@text.com] -Sent: Tuesday, May 27, 2014 4:05 AM -To: text text -Cc: text-text-v@text.com; text.text@v.com -Subject: Re: text text v - -Hi text, -text text text text text text. -It text the text text isn't text text text text.= - text, text text text. - -2014-05-23 16:32 GMT+04:00 text text >: -text, - -text is the text of text text? I text not text any text at all text text. - - ---_000_e97e70fb604f465799d61c98bd94c0c2orangevxclocal_ -Content-Type: text/html; charset="utf-8" -Content-Transfer-Encoding: quoted-printable - -asdasd - ---_000_e97e70fb604f465799d61c98bd94c0c2orangevxclocal_-- diff --git a/QuoteParser.Tests/Resources/testEmls/ML/38.txt b/QuoteParser.Tests/Resources/testEmls/ML/38.txt new file mode 100644 index 0000000..21cf824 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/38.txt @@ -0,0 +1,31 @@ +text text of the text text IP text text text or text text. I text text text text text our text text text text text in text in text text. Is the text on the text text? + +text, + + +text text +text text +text text +400 text text +text, FL 11123 +text: (770) 123-4567 +text@text.com +www.text.com + + + +From: text text [mailto:text.text@text.com] +Sent: Tuesday, May 27, 2014 4:05 AM +To: text text +Cc: text-text-v@text.com; text.text@v.com +Subject: Re: text text v + +Hi text, +text text text text text text. +It text the text text isn't text text text text. text, text text text. + +2014-05-23 16:32 GMT+04:00 text text >: +text, + +text is the text of text text? I text not text any text at all text text. + diff --git a/QuoteParser.Tests/Resources/testEmls/ML/3926.eml b/QuoteParser.Tests/Resources/testEmls/ML/3926.eml deleted file mode 100644 index a02bb23..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/3926.eml +++ /dev/null @@ -1,35 +0,0 @@ -Date: Mon, 24 Nov 2014 16:43:49 -0500 -From: test test -References: - - <04d5> -In-Reply-To: <04d5> -Content-type: multipart/alternative; - boundary="B_3499692236_20126003" - ---B_3499692236_20126003 -Content-type: text/plain; - charset="ISO-8859-1" -Content-transfer-encoding: quoted-printable - -test test test test test test=8APteste test - -From: test test -Organization: test test -Date: Monday, November 24, 2014 at 4:05 PM -To: 'test test' , -Cc: test test -Subject: RE: test test test 1500 test test test - -test test, - ---B_3499692236_20126003 -Content-type: text/html; - charset="ISO-8859-1" -Content-transfer-encoding: quoted-printable - - - ---B_3499692236_20126003-- - - diff --git a/QuoteParser.Tests/Resources/testEmls/ML/3926.txt b/QuoteParser.Tests/Resources/testEmls/ML/3926.txt new file mode 100644 index 0000000..77d0050 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/3926.txt @@ -0,0 +1,10 @@ +test test test test test testŠPteste test + +From: test test +Organization: test test +Date: Monday, November 24, 2014 at 4:05 PM +To: 'test test' , +Cc: test test +Subject: RE: test test test 1500 test test test + +test test, diff --git a/QuoteParser.Tests/Resources/testEmls/ML/4298.eml b/QuoteParser.Tests/Resources/testEmls/ML/4298.eml deleted file mode 100644 index cd29df9..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/4298.eml +++ /dev/null @@ -1,27 +0,0 @@ -Date: Tue, 02 Dec 2014 12:21:55 -0800 -From: asd asd -Content-Type: multipart/alternative; boundary="--_com.android.email_102378900787240" - -----_com.android.email_102378900787240 -Content-Type: text/plain; charset=utf-8 -Content-Transfer-Encoding: base64 - -SGkgdGV4dCwNCg0KdGV4dCB0ZXh0IHRleHQuIHRleHQgdGV4dCB0ZXh0IHRleHQgdGV4dCB3ZSB0 -ZXh0IHRleHQgdG8gdGV4dCB0ZXh0Lg0KDQp0ZXh0IHRleHQsDQp0ZXh0DQoNCg0KdGV4dCB0ZXh0 -IHRoZSB0ZXh0IHRleHQgU+KEoiBJSUksIHRleHQgQVQmVCA0RyB0ZXh0IHRleHQNCg0KPGRpdj4t -LS0tLS0tLSBPcmlnaW5hbCBtZXNzYWdlIC0tLS0tLS0tPC9kaXY+PGRpdj5Gcm9tOiB0ZXh0IHRl -eHQgPHRleHQtdGV4dEB0ZXh0LmNvbT4gPC9kaXY+PGRpdj5EYXRlOjEyLzAyLzIwMTQgIDA5OjQ4 -ICAoR01ULTA4OjAwKSA8L2Rpdj48ZGl2PlRvOiB0ZXh0LnRleHQuMTIzQHRleHQudGV4dC50ZXh0 -IDwvZGl2PjxkaXY+U3ViamVjdDogUmU6IHRleHQndCB0ZXh0IG9yIHRleHQgdGV4dCA8L2Rpdj48 -ZGl2Pg0KPC9kaXY+SGVsbG8sDQoNCnRleHQgdGV4dCB0ZXh0IHRleHQgdGV4dCwgdGV4dCB0ZXh0 -IHRleHQgdGV4dCB0ZXh0IHRleHQ/ - -----_com.android.email_102378900787240 -Content-Type: text/html; charset=utf-8 -Content-Transfer-Encoding: base64 - -asdasdasd - -----_com.android.email_102378900787240-- - - diff --git a/QuoteParser.Tests/Resources/testEmls/ML/4298.txt b/QuoteParser.Tests/Resources/testEmls/ML/4298.txt new file mode 100644 index 0000000..e3ff203 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/4298.txt @@ -0,0 +1,14 @@ +Hi text, + +text text text. text text text text text we text text to text text. + +text text, +text + + +text text the text text S™ III, text AT&T 4G text text + +
-------- Original message --------
From: text text
Date:12/02/2014 09:48 (GMT-08:00)
To: text.text.123@text.text.text
Subject: Re: text't text or text text
+
Hello, + +text text text text text, text text text text text text? \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/ML/43.eml b/QuoteParser.Tests/Resources/testEmls/ML/43.eml deleted file mode 100644 index 27b7360..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/43.eml +++ /dev/null @@ -1,45 +0,0 @@ -In-Reply-To: <947> -References: <947> -From: text@text.ru -Date: Tue, 27 May 2014 22:18:32 +0400 -Content-Type: multipart/alternative; boundary="=_alternative 0064953444257CE5_=" - -This is a multipart message in MIME format. ---=_alternative 0064953444257CE5_= -Content-Type: text/plain; charset="UTF-8" -Content-Transfer-Encoding: base64 - -dGV4dCwNCg0KdGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0IHRleHQsIHRleHQgdGV4dCB0ZXh0IHRl -eHQNCnRleHQgdGV4dC4gdGV4dCB0ZXh0IHRleHQgdGV4dCwgdGV4dCB0ZXh0LCB0ZXh0IHRleHQN -CnRleHQgdGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0LCB0ZXh0IHRleHQgdGV4dCB0ZXh0DQp0ZXh0 -IHRleHQgdGV4dC4gdGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0IHRleHQgdGV4dDoNCjEuIHRleHQg -dGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0LiB0ZXh0IC0gdGV4dCB0ZXh0IHRleHQNCnRleHQgdGV4 -dCwgdGV4dCB0ZXh0IHRleHQgdGV4dCwgdGV4dCB0ZXh0LiB0ZXh0IHRleHQgDQp0ZXh0IHRleHQg -dGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0IHRleHQuICsgdGV4dCB0ZXh0DQp0ZXh0IHRleHQgdGV4 -dCB0ZXh0IHRleHQgdGV4dC4gdGV4dCB0ZXh0IHRleHQgdGV4dA0KMi4gdGV4dCB0ZXh0IHRleHQg -dGV4dCB0ZXh0ICJ0ZXh0IiB0ZXh0IHRleHQgDQp0ZXh0IHRleHQgKHRleHQgdGV4dCB0ZXh0IHRl -eHQpDQozLiB0ZXh0IHRleHQgdGV4dCB0ZXh0IHRleHQgInRleHQgdGV4dCB0ZXh0IiB0ZXh0IA0K -dGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0IHRleHQgdGV4dCANCnRleHQgdGV4dCB0ZXh0IHRleHQg -dGV4dCB0ZXh0IHRleHQgDQo0LiB0ZXh0IHRleHQgdGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0IA0K -dGV4dCB0ZXh0IHRleHQgKHRleHQgdGV4dCAidGV4dCB0ZXh0IA0KdGV4dCB0ZXh0IiB0ZXh0IHRl -eHQgInRleHQiKSB0ZXh0IHRleHQgdGV4dCANCnRleHQNCjUuIHRleHQgdGV4dCB0ZXh0IHRleHQg -dGV4dCB0ZXh0IC0gdGV4dCANCnRleHQgdGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0IHRleHQgDQp0 -ZXh0IHRleHQgdGV4dCAodGV4dCwgdGV4dCB0ZXh0IHRleHQuKSANCjYuIHRleHQgdGV4dCB0ZXh0 -IHRleHQgdGV4dCB0ZXh0IHRleHQgIA0KKHRleHQgdGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0IHRl -eHQgKQ0KDQp0ZXh0IHRleHQgdGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0ID8NCg0KdGV4dCB0ZXh0 -IHRleHQuIHRleHQgLSB0ZXh0IHRleHQgdGV4dCANCnRleHQgdGV4dCB0ZXh0IHRleHQgdGV4dC4g -dGV4dCB0ZXh0IA0KdGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0IHRleHQgdGV4dCAuDQoNCnRleHQg -dGV4dCwgdGV4dCB0ZXh0DQp0ZXh0ICJ0ZXh0IHRleHQgdGV4dCB0ZXh0wrsNCis3IDkxMSA1NDYg -MTIzNA0KDQoNCg0K0J7RgjogICAgIHRleHQgdGV4dCA8dGV4dC10ZXh0QHRleHQuY29tPg0K0JrQ -vtC80YM6ICAgdGV4dEB0ZXh0LnJ1DQrQlNCw0YLQsDogICAyNi4wNS4yMDE0IDIxOjI3DQrQotC1 -0LzQsDogICBbdGV4dC05NjU0XSDQntGA0LPQsNC90LjQt9Cw0YbQuNGPIHRleHQnYQ0KDQoNCg0K -T24gTWF5IDI2LCAyMDE0IDk6Mjc6MTkgUE0sIGFub3RoZXIgdXNlciAodGV4dCB0ZXh0KSB3cm90 -ZToNCnRleHQgaGVscGRlc2snYQ0K0JfQtNGA0LDQstGB0YLQstGD0LnRgtC1LCB0ZXh0DQoNCtCh -0L/QsNGB0LjQsdC+INC30LAg0LLQsNGIIGZlZWRiYWNrIQ== - ---=_alternative 0064953444257CE5_= -Content-Type: text/html; charset="UTF-8" -Content-Transfer-Encoding: quoted-printable - -sdfsdf ---=_alternative 0064953444257CE5_=-- diff --git a/QuoteParser.Tests/Resources/testEmls/ML/43.txt b/QuoteParser.Tests/Resources/testEmls/ML/43.txt new file mode 100644 index 0000000..63360ef --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/43.txt @@ -0,0 +1,49 @@ +text, + +text text text text text text, text text text text +text text. text text text text, text text, text text +text text text text text text, text text text text +text text text. text text text text text text text: +1. text text text text text text. text - text text text +text text, text text text text, text text. text text +text text text text text text text text. + text text +text text text text text text. text text text text +2. text text text text text "text" text text +text text (text text text text) +3. text text text text text "text text text" text +text text text text text text text +text text text text text text text +4. text text text text text text text +text text text (text text "text text +text text" text text "text") text text text +text +5. text text text text text text - text +text text text text text text text +text text text (text, text text text.) +6. text text text text text text text +(text text text text text text text ) + +text text text text text text text ? + +text text text. text - text text text +text text text text text. text text +text text text text text text text . + +text text, text text +text "text text text text» ++7 911 546 1234 + + + +От: text text +Кому: text@text.ru +Дата: 26.05.2014 21:27 +Тема: [text-9654] Организация text'a + + + +On May 26, 2014 9:27:19 PM, another user (text text) wrote: +text helpdesk'a +Здравствуйте, text + +Спасибо за ваш feedback! \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/ML/5859.eml b/QuoteParser.Tests/Resources/testEmls/ML/5859.eml deleted file mode 100644 index 571b7a8..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/5859.eml +++ /dev/null @@ -1,44 +0,0 @@ -Date: Sun, 2 Nov 2014 17:15:29 +0300 (MSK) -From: text text -In-Reply-To: -References: -Content-Type: multipart/mixed; - boundary="----=_Part_61972_1861346059.1414937729503" - -------=_Part_61972_1861346059.1414937729503 -Content-Type: multipart/related; - boundary="----=_Part_61973_1248927764.1414937729503" - -------=_Part_61973_1248927764.1414937729503 -Content-Type: multipart/alternative; - boundary="----=_Part_61974_1223763770.1414937729503" - -------=_Part_61974_1223763770.1414937729503 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: quoted-printable - -Dear texttext text, -text your message we text text< https://text.text.com/= -text/text-0000#text=3D00-000038 > a text text text text< https://text= -text.text.text/text/text-0123 > text-0123 -text a text of text text, text text receive further notifications text a= -ny text for text text. All text text be text to text e-mail ad= -text text text the text. If text do text text to text text= -ns, you text text text in text text< https://text.text.com/text/= -text?text=asd+and+asd > asd. -From : asd.text@text.com -Sent : Sun Nov 02 17:11:48 MSK 2014 -Subject : text text to text text text -Hi, -text text text text text text text text text. -------=_Part_61974_1223763770.1414937729503 -Content-Type: text/html;charset=UTF-8 -Content-Transfer-Encoding: quoted-printable - -dfgh - -------=_Part_61974_1223763770.1414937729503-- - -------=_Part_61973_1248927764.1414937729503-- - -------=_Part_61972_1861346059.1414937729503-- diff --git a/QuoteParser.Tests/Resources/testEmls/ML/5859.txt b/QuoteParser.Tests/Resources/testEmls/ML/5859.txt new file mode 100644 index 0000000..847b580 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/5859.txt @@ -0,0 +1,8 @@ +Dear texttext text, +text your message we text text< https://text.text.com/text/text-0000#text=00-000038 > a text text text text< https://texttext.text.text/text/text-0123 > text-0123 +text a text of text text, text text receive further notifications text any text for text text. All text text be text to text e-mail adtext text text the text. If text do text text to text textns, you text text text in text text< https://text.text.com/text/text?text=asd+and+asd > asd. +From : asd.text@text.com +Sent : Sun Nov 02 17:11:48 MSK 2014 +Subject : text text to text text text +Hi, +text text text text text text text text text. \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/ML/82.eml b/QuoteParser.Tests/Resources/testEmls/ML/82.eml deleted file mode 100644 index 5fe10cb..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/82.eml +++ /dev/null @@ -1,29 +0,0 @@ -In-Reply-To: <538> -References: <538> -From: tyext@tyext.ru -Date: Fri, 30 May 2014 12:24:20 +0400 -Content-Type: multipart/alternative; boundary="=_alternative 002E2E9844257CE8_=" - -This is a multipart message in MIME format. ---=_alternative 002E2E9844257CE8_= -Content-Type: text/plain; charset="UTF-8" -Content-Transfer-Encoding: base64 - -YXNkLCDQtNC+0LHRgNGL0Lkg0LTQtdC90YwhDQoNCtCh0L/QsNGB0LjQsdC+LCBhc2QuDQrRgtC1 -0LrRgdGCINGC0LXQutGB0YIg0YLQtdC60YHRgiDRgtC10LrRgdGCLCDQv9C+INGC0LXQutGB0YIg -0YLQtdC60YHRgiDRgtC10LrRgdGCLCDQvdC1INGC0LXQutGB0YIgDQrRgtC10LrRgdGCINGC0LXQ -utGB0YIg0LIgImZpeGVkIiA7KQ0KDQrQoSDRg9Cy0LDQttC10L3QuNC10LwsINGC0LXQutGB0YIg -0YLQtdC60YHRgg0K0YLQtdC60YHRgiAi0YLQtdC60YHRgiDRgtC10LrRgdGCINGC0LXQutGB0YIg -0YLQtdC60YHRgsK7DQorNyAzMTIgNjU0IDk4NzQNCg0KDQoNCtCe0YI6ICAgICAidGV4dC50ZXh0 -IiA8dGV4dC50ZXh0QHRleHQuY29tPg0K0JrQvtC80YM6ICAgdGV4dEB0ZXh0LnJ1LCB0ZXh0IHRl -eHQgDQo8dGV4dC10ZXh0QHRleHQuY29tPg0K0JTQsNGC0LA6ICAgMzAuMDUuMjAxNCAxMToxNw0K -0KLQtdC80LA6ICAgUmU6INCe0LPRgNCw0L3QuNGH0LXQvdC40Y8g0LIgdGV4dCdlDQoNCg0KDQrQ -lNC+0LHRgNGL0Lkg0LTQtdC90YwsDQoNCtC00LAsINGC0LXQutGB0YIg0YLQtdC60YHRgiDRgtC1 -0LrRgdGCINGN0YLQviDRgtC10LrRgdGCINGC0LXQutGB0YIg0YLQtdC60YHRgjoNCnRleHQgdGV4 -dCB0ZXh0IHRleHQg ---=_alternative 002E2E9844257CE8_= -Content-Type: text/html; charset="UTF-8" -Content-Transfer-Encoding: base64 - -GGvDbnQ ---=_alternative 002E2E9844257CE8_=-- diff --git a/QuoteParser.Tests/Resources/testEmls/ML/82.txt b/QuoteParser.Tests/Resources/testEmls/ML/82.txt new file mode 100644 index 0000000..51020fa --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/82.txt @@ -0,0 +1,24 @@ +asd, добрый день! + +Спасибо, asd. +текст текст текст текст, по текст текст текст, не текст +текст текст в "fixed" ;) + +С уважением, текст текст +текст "текст текст текст текст» ++7 312 654 9874 + + + +От: "text.text" +Кому: text@text.ru, text text + +Дата: 30.05.2014 11:17 +Тема: Re: Ограничения в text'e + + + +Добрый день, + +да, текст текст текст это текст текст текст: +text text text text \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/ML/85.eml b/QuoteParser.Tests/Resources/testEmls/ML/85.eml deleted file mode 100644 index a2f5a8b..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/85.eml +++ /dev/null @@ -1,75 +0,0 @@ -From: "text text" -References: -In-Reply-To: -Date: Fri, 30 May 2014 12:11:34 +0200 -Content-Type: multipart/alternative; - boundary="----=_NextPart_000_0222_01CF7C00.4CE56520" -Content-Language: cs - - -This is a multipart message in MIME format. - -------=_NextPart_000_0222_01CF7C00.4CE56520 -Content-Type: text/plain; - charset="UTF-8" -Content-Transfer-Encoding: quoted-printable - -Hello text, - -=20 - -Can you text text text? He is text text: - -=20 - -https://text-text.text.net/text/text/text.text?text=3D= -3215645421 - -=20 - -=20 - -Best regards,=20 - - - -text text=20 -text text=20 - -text s.S.s.=20 -Na H=C5=99ebtext II 5425/19=20 -text, 147 00, text text=20 -text: +420 234 234 234 (ext. 23434)=20 -text: +420 234 224 234=20 -www.text.com=20 -"text text text!"=20 - -=20 - -From: text text [mailto:text-text@text.com]=20 -Sent: Thursday, May 29, 2014 5:01 PM -Subject: Re: text text text text - -=20 - -Hello text, - -Thank you for contacting us! - -text, text text text text text. - -text text, text text. - -Thank you. - -!DSPAM:10,23423nn23423423423! - - -------=_NextPart_000_0222_01CF7C00.4CE56520 -Content-Type: text/html; - charset="UTF-8" -Content-Transfer-Encoding: quoted-printable - -html -------=_NextPart_000_0222_01CF7C00.4CE56520-- - diff --git a/QuoteParser.Tests/Resources/testEmls/ML/85.txt b/QuoteParser.Tests/Resources/testEmls/ML/85.txt new file mode 100644 index 0000000..5118011 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/85.txt @@ -0,0 +1,49 @@ +Hello text, + + + +Can you text text text? He is text text: + + + +https://text-text.text.net/text/text/text.text?text=3215645421 + + + + + +Best regards, + + + +text text +text text + +text s.S.s. +Na Hřebtext II 5425/19 +text, 147 00, text text +text: +420 234 234 234 (ext. 23434) +text: +420 234 224 234 +www.text.com +"text text text!" + + + +From: text text [mailto:text-text@text.com] +Sent: Thursday, May 29, 2014 5:01 PM +Subject: Re: text text text text + + + +Hello text, + +Thank you for contacting us! + +text, text text text text text. + +text text, text text. + +Thank you. + +!DSPAM:10,23423nn23423423423! + diff --git a/QuoteParser.Tests/Resources/testEmls/SL/10.eml b/QuoteParser.Tests/Resources/testEmls/SL/10.eml deleted file mode 100644 index df0d473..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/10.eml +++ /dev/null @@ -1,47 +0,0 @@ -Content-Type: multipart/alternative; boundary="Apple-Mail=_76CBEEF0-3F89-4DC3-A2DB-0A5022E06BFA" -In-Reply-To: -From: Batman -Date: Mon, 26 May 2014 19:17:15 +0400 -References: - - ---Apple-Mail=_76CBEEF0-3F89-4DC3-A2DB-0A5022E06BFA -Content-Transfer-Encoding: quoted-printable -Content-Type: text/plain; - charset=windows-1252 - -Hello guys, - -I'm Batman! I'm Batman! I'm Batman! I'm Batman! I'm Batman! I'm Batman! -I'm Batman! I'm Batman! I'm Batman! I'm Batman! I'm Batman! -I'm Batman! I'm Batman! I'm Batman! -I'm Batman! - -Thank you. --- -Batman's signature - -On 26 May 2014, at 14:25 , Robin = - wrote: - -> On May 26, 2014 2:25:22 PM, another user wrote: -> Update: -> Hi Batman,=20 ->=20 -> Forwarded to Joker. ->=20 ->=20 ->=20 ->=20 ->=20 ->=20 - - ---Apple-Mail=_76CBEEF0-3F89-4DC3-A2DB-0A5022E06BFA -Content-Transfer-Encoding: quoted-printable -Content-Type: text/html; - charset=windows-1252 - -html is placed here= - ---Apple-Mail=_76CBEEF0-3F89-4DC3-A2DB-0A5022E06BFA-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/10.txt b/QuoteParser.Tests/Resources/testEmls/SL/10.txt new file mode 100644 index 0000000..024e03a --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/10.txt @@ -0,0 +1,25 @@ +Hello guys, + +I'm Batman! I'm Batman! I'm Batman! I'm Batman! I'm Batman! I'm Batman! +I'm Batman! I'm Batman! I'm Batman! I'm Batman! I'm Batman! +I'm Batman! I'm Batman! I'm Batman! +I'm Batman! + +Thank you. +-- +Batman's signature + +On 26 May 2014, at 14:25 , Robin wrote: + +> On May 26, 2014 2:25:22 PM, another user wrote: +> Update: +> Hi Batman, +> +> Forwarded to Joker. +> +> +> +> +> +> + diff --git a/QuoteParser.Tests/Resources/testEmls/SL/1066.eml b/QuoteParser.Tests/Resources/testEmls/SL/1066.eml deleted file mode 100644 index 60ceca4..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/1066.eml +++ /dev/null @@ -1,52 +0,0 @@ -Date: Thu, 24 Jul 2014 13:37:13 -0700 -From: X D -References: -In-Reply-To: -Content-Type: multipart/alternative; - boundary="------------060208020702060906090204" - -This is a multi-part message in MIME format. ---------------060208020702060906090204 -Content-Type: text/plain; charset=UTF-8; format=flowed -Content-Transfer-Encoding: 8bit - -My text text text text text on text. - - > "text, to text text text text text text text text -'on text text' text text text text or text text to -text text. text text text you text text text -text." - -text 'on text text' text to be text text text, text I'm -text text text to do text. The 'text text' text text -text to text the text text as in text and text. - - > "text it text text text the text is text the text of some text ? -text I text, you've text the text text the text ?" - -text text, I text it out text. text /text/ I text -text text a text text of the text text. -text, it text text text! :) - - -On 7/11/14, 9:30 AM, X Y wrote: -> Hi text, -> -> text, to text text text text text text text text 'on -> text text' text text text text or text text to -> text text. - --- ------------------------------------------------------------------------- -*text text*, text | text text | text text | w: -1-866-328-9514 | m: 1-982-345-8421 -*text us for text : text text's -text text • August 7-8, 2014* - ---------------060208020702060906090204 -Content-Type: text/html; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -html goes here - ---------------060208020702060906090204-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/1066.txt b/QuoteParser.Tests/Resources/testEmls/SL/1066.txt new file mode 100644 index 0000000..289c4c6 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/1066.txt @@ -0,0 +1,20 @@ +My text text text text text on text. + +> "text, to text text text text text text text text 'on text text' text text text text or text text to text text. text text text you text text text text." + +text 'on text text' text to be text text text, text I'm text text text to do text. The 'text text' text text text to text the text text as in text and text. + +> "text it text text text the text is text the text of some text ? text I text, you've text the text text the text ?" + +text text, I text it out text. text /text/ I text text text a text text of the text text. +text, it text text text! :) + + +On 7/11/14, 9:30 AM, X Y wrote: +> Hi text, +> +> text, to text text text text text text text text 'on text text' text text text text or text text to text text. + +-- ------------------------------------------------------------------------ +*text text*, text | text text | text text | w: 1-866-328-9514 | m: 1-982-345-8421 +*text us for text : text text's text text • August 7-8, 2014* diff --git a/QuoteParser.Tests/Resources/testEmls/SL/1077.eml b/QuoteParser.Tests/Resources/testEmls/SL/1077.eml deleted file mode 100644 index 5eb532f..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/1077.eml +++ /dev/null @@ -1,66 +0,0 @@ -In-Reply-To: -References: - - - -Date: Sat, 26 Jul 2014 15:55:39 +0400 -From: Wylsa cvb -Content-Type: multipart/alternative; boundary=047d7bdc8e8a600aa504ff175e07 - ---047d7bdc8e8a600aa504ff175e07 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: quoted-printable - -=D0=9F=D0=B0=D1=88=D1=83=D0=BB=D1=8F, =D0=BF=D1=80=D0=B8=D0=B2=D0=B5=D1=82.= - =D0=9C=D0=BE=D0=B6=D0=B5=D1=88=D1=8C =D0=BF=D0=BE=D1=81=D0=BC=D0=BE=D1=82= -=D1=80=D0=B5=D1=82=D1=8C ? - -=D1=81=D1=83=D0=B1=D0=B1=D0=BE=D1=82=D0=B0, 26 =D0=B8=D1=8E=D0=BB=D1=8F 201= -4 =D0=B3. =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0= -=BB=D1=8C Some Body =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: - -> text, -> -> text for text. -> text text text text us text text text? text text text to text -> text the text? We text an text, the text text be text -> text text text text . -> The text can be text to our text ftp://ftp.example.net/.exmpl/ -> -> text text. -> -> -> text text text text! ->> ->> I text it text text. ->> ->> text text text ->> ->> text text text ->> text text text ->> ->> -> -> -- -> text text -> text text -> text, text -> http://www.example.com -> "text text text!" -> - - ---=20 -text text -text text -text, text -http://www.exmple.com -"text text text!" - ---047d7bdc8e8a600aa504ff175e07 -Content-Type: text/html; charset=UTF-8 -Content-Transfer-Encoding: quoted-printable - -html - ---047d7bdc8e8a600aa504ff175e07-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/1077.txt b/QuoteParser.Tests/Resources/testEmls/SL/1077.txt new file mode 100644 index 0000000..cef1ea4 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/1077.txt @@ -0,0 +1,41 @@ +Пашуля, привет. Можешь посмотреть ? + +суббота, 26 июля 2014 г. пользователь Some Body написал: + +> text, +> +> text for text. +> text text text text us text text text? text text text to text +> text the text? We text an text, the text text be text +> text text text text . +> The text can be text to our text ftp://ftp.example.net/.exmpl/ +> +> text text. +> +> +> text text text text! +>> +>> I text it text text. +>> +>> text text text +>> +>> text text text +>> text text text +>> +>> +> +> -- +> text text +> text text +> text, text +> http://www.example.com +> "text text text!" +> + + +-- +text text +text text +text, text +http://www.exmple.com +"text text text!" diff --git a/QuoteParser.Tests/Resources/testEmls/SL/108.eml b/QuoteParser.Tests/Resources/testEmls/SL/108.eml deleted file mode 100644 index 3d4fc72..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/108.eml +++ /dev/null @@ -1,46 +0,0 @@ -Date: Sun, 01 Jun 2014 20:14:46 +0100 -From: X Y -References: -In-Reply-To: -Content-Type: multipart/alternative; - boundary="------------010503080400070209040308" - -This is a multi-part message in MIME format. ---------------010503080400070209040308 -Content-Type: text/plain; charset=UTF-8; format=flowed -Content-Transfer-Encoding: 8bit - -Hi there, - -text text text text text text text text text text text text -text text text text text text text text text text text text text -text text text text text text text. - -text text text text text. text text text text text text text -text text text text text text text text? - -Kind regards, - -- X-Men - -On 12/05/2014 13:00, Professor X wrote: -> On May 12, 2014 4:00:15 PM, another user (*X C*) wrote: -> text text text text text text. -> -> Hello CENSORED, -> -> some text -> -> -> -> -> - - ---------------010503080400070209040308 -Content-Type: text/html; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -html - ---------------010503080400070209040308-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/108.txt b/QuoteParser.Tests/Resources/testEmls/SL/108.txt new file mode 100644 index 0000000..a955718 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/108.txt @@ -0,0 +1,23 @@ +Hi there, + +text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text. + +text text text text text. text text text text text text text text text text text text text text text? + +Kind regards, + +- X-Men + +On 12/05/2014 13:00, Professor X wrote: +> On May 12, 2014 4:00:15 PM, another user (*X C*) wrote: +> text text text text text text. +> +> Hello CENSORED, +> +> some text +> +> +> +> +> + diff --git a/QuoteParser.Tests/Resources/testEmls/SL/11461.eml b/QuoteParser.Tests/Resources/testEmls/SL/11461.eml deleted file mode 100644 index 0e2cf11..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/11461.eml +++ /dev/null @@ -1,69 +0,0 @@ -References: <40a> - <40> -In-Reply-To: <40> -From: asd asd -Date: Mon, 21 Sep 2015 13:56:18 +0000 -Content-Type: multipart/mixed; boundary=047d7b3a8ca884aefc0520423f0d - ---047d7b3a8ca884aefc0520423f0d -Content-Type: multipart/alternative; boundary=047d7b3a8ca884aef50520423f0b - ---047d7b3a8ca884aef50520423f0b -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: quoted-printable - -Hi asd, - -text text text text. I've text the text text text text text -text (text text, text and text text text) text no one text. I -text text a "text". text text a text at my text text. - -Do text text text text? - -text, - -text text - ---=20 -text text -text Cid & text GbR -- text text - -text text=C3=9Fe 39 -22345 text - -text: +49 (0)132 / 123 123 12 -text: +49 (0)133 / 123 123 13 -text: n.text@text.org -text: http://text.org - - -text text schrieb am Sa., 19. Sep. -2015 um 12:04 Uhr: - -> ##- Please type your reply above this line -## -> -> text text text texttext -> - ---047d7b3a8ca884aef50520423f0b -Content-Type: text/html; charset=UTF-8 -Content-Transfer-Encoding: quoted-printable - -html - ---047d7b3a8ca884aef50520423f0b-- ---047d7b3a8ca884aefc0520423f0d -Content-Type: image/png; name="uyyy.PNG" -Content-Disposition: attachment; filename="yyty.PNG" -Content-Transfer-Encoding: base64 -X-Attachment-Id: 14ff030dd6b76f4ee111 - -asdasd ---047d7b3a8ca884aefc0520423f0d -Content-Type: image/png; name="tyty.PNG" -Content-Disposition: attachment; filename="tyyt.PNG" -Content-Transfer-Encoding: base64 -X-Attachment-Id: 14ff030dd7d309f980e2 - -asdasdasdasda ---047d7b3a8ca884aefc0520423f0d-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/11461.txt b/QuoteParser.Tests/Resources/testEmls/SL/11461.txt new file mode 100644 index 0000000..a2a7039 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/11461.txt @@ -0,0 +1,32 @@ +Hi asd, + +text text text text. I've text the text text text text text +text (text text, text and text text text) text no one text. I +text text a "text". text text a text at my text text. + +Do text text text text? + +text, + +text text + +-- +text text +text Cid & text GbR +- text text - +text textße 39 +22345 text + +text: +49 (0)132 / 123 123 12 +text: +49 (0)133 / 123 123 13 +text: n.text@text.org +text: http://text.org + + +text text schrieb am Sa., 19. Sep. +2015 um 12:04 Uhr: + +> ##- Please type your reply above this line -## +> +> text text text texttext +> diff --git a/QuoteParser.Tests/Resources/testEmls/SL/17444.eml b/QuoteParser.Tests/Resources/testEmls/SL/17444.eml deleted file mode 100644 index f765251..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/17444.eml +++ /dev/null @@ -1,29 +0,0 @@ -Date: Thu, 22 Oct 2015 21:03:35 +0100 -From: "qwe qwe" -Content-Type: text/plain; charset=Windows-874 -Content-Transfer-Encoding: quoted-printable -Content-Disposition: inline - -I text text text text/text of text text text 2 text. -text text text text, text text text any urgent text, = -text I text text to text text as text as text on my text. -text text. - -text.text@text.text.text.uk -text text -text text - Training=20 -text text -NHS text text -VC: text.text@text.text.text.uk - http://www.text.asd.aasd.uk/asd -text 0123 132 1233 -text 12312 123123 -=20 -text: 0123 123 1212 -=20 -=20 - ->>> text text 10/22/15 = -21:02 >>> - -text text text text text text text text. diff --git a/QuoteParser.Tests/Resources/testEmls/SL/17444.txt b/QuoteParser.Tests/Resources/testEmls/SL/17444.txt new file mode 100644 index 0000000..b010181 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/17444.txt @@ -0,0 +1,21 @@ +I text text text text/text of text text text 2 text. +text text text text, text text text any urgent text, text I text text to text text as text as text on my text. +text text. + +text.text@text.text.text.uk +text text +text text - Training +text text +NHS text text +VC: text.text@text.text.text.uk + http://www.text.asd.aasd.uk/asd +text 0123 132 1233 +text 12312 123123 + +text: 0123 123 1212 + + + +>>> text text 10/22/15 21:02 >>> + +text text text text text text text text. diff --git a/QuoteParser.Tests/Resources/testEmls/SL/17949.eml b/QuoteParser.Tests/Resources/testEmls/SL/17949.eml deleted file mode 100644 index dd7f7ba..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/17949.eml +++ /dev/null @@ -1,71 +0,0 @@ -From: asd asd -Date: Tue, 3 Nov 2015 19:39:59 +0000 -Message-ID: -References: <1RR> -In-Reply-To: <1RR> -Accept-Language: en-US -Content-Language: en-US -Content-Type: multipart/alternative; - boundary="_000_FBA4BF080CA64AEB96877BFC133A7617levelupdevelopmentcom_" - ---_000_FBA4BF080CA64AEB96877BFC133A7617levelupdevelopmentcom_ -Content-Type: text/plain; charset="us-ascii" -Content-Transfer-Encoding: quoted-printable - -JSON Response 1: - -{ - "text": "text,text", - "text": 0, - "text": 1, - "text": 371, - "text": [ - { - "text": "text,text,text,text,tra= -text,text", - "text": "21212", - "text": "https://text.text.net/text/text/12/text/23= -033", - "text": "text-000" - - } - ] -} - -JSON Response 2: - -[ - { - "text": "https://asd.text.net/asd/asd/01/asd/1", - "text": "The text is text text and text to be text.", - "text": "https://text.text.net/text/text/text= -ses/text.text", - "name": "text", - "text": "1", - "text": { - "text": "https://text.text.text/text/text/2/text= -text/2", - "text": 2, - "text": "text", - "text": "text-text", - "name": "To Do" - } - } -] - -On Nov 2, 2015, at 10:09 AM, text text (text text) > wrote: - -##- Please type your reply above this line -## - -Your request (text) has been text. To add text text, text to = -text text. - ---_000_FBA4BF080CA64AEB96877BFC133A7617levelupdevelopmentcom_ -Content-Type: text/html; charset="us-ascii" -Content-ID: <05D4489E69A0DA45A340072BE638FB09@namprd05.prod.outlook.com> -Content-Transfer-Encoding: quoted-printable - -asd - ---_000_FBA4BF080CA64AEB96877BFC133A7617levelupdevelopmentcom_-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/17949.txt b/QuoteParser.Tests/Resources/testEmls/SL/17949.txt new file mode 100644 index 0000000..bf383cf --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/17949.txt @@ -0,0 +1,42 @@ +JSON Response 1: + +{ + "text": "text,text", + "text": 0, + "text": 1, + "text": 371, + "text": [ + { + "text": "text,text,text,text,tratext,text", + "text": "21212", + "text": "https://text.text.net/text/text/12/text/23033", + "text": "text-000" + + } + ] +} + +JSON Response 2: + +[ + { + "text": "https://asd.text.net/asd/asd/01/asd/1", + "text": "The text is text text and text to be text.", + "text": "https://text.text.net/text/text/textses/text.text", + "name": "text", + "text": "1", + "text": { + "text": "https://text.text.text/text/text/2/texttext/2", + "text": 2, + "text": "text", + "text": "text-text", + "name": "To Do" + } + } +] + +On Nov 2, 2015, at 10:09 AM, text text (text text) > wrote: + +##- Please type your reply above this line -## + +Your request (text) has been text. To add text text, text to text text. diff --git a/QuoteParser.Tests/Resources/testEmls/SL/17995.eml b/QuoteParser.Tests/Resources/testEmls/SL/17995.eml deleted file mode 100644 index 6bac88e..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/17995.eml +++ /dev/null @@ -1,38 +0,0 @@ -From: asd - asd -Content-Type: multipart/alternative; boundary="Apple-Mail=_9D5D549B-71EB-4FDE-8E89-55A735EA0310" -Message-Id: -Date: Thu, 5 Nov 2015 13:48:14 +0300 -References: -In-Reply-To: - ---Apple-Mail=_9D5D549B-71EB-4FDE-8E89-55A735EA0310 -Content-Transfer-Encoding: quoted-printable -Content-Type: text/plain; - charset=utf-8 - -Hm=E2=80=A6 I can=E2=80=99t test test test test test:test = -test. Is it test? -test test test test to test. -> 5 =D0=BD=D0=BE=D1=8F=D0=B1. 2015 =D0=B3., =D0=B2 13:37, test test = -(test test) =D0=BD=D0=B0=D0=BF=D0=B8= -=D1=81=D0=B0=D0=BB(=D0=B0): ->=20 -> ##- Please type your reply above this line -## -> Your test (test) has been updated. To add additional comments, = -reply to this email. ->=20 -> =09 -> -> -> -> - ---Apple-Mail=_9D5D549B-71EB-4FDE-8E89-55A735EA0310 -Content-Transfer-Encoding: quoted-printable -Content-Type: text/html; - charset=utf-8 - -= - ---Apple-Mail=_9D5D549B-71EB-4FDE-8E89-55A735EA0310-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/17995.txt b/QuoteParser.Tests/Resources/testEmls/SL/17995.txt new file mode 100644 index 0000000..4ceda09 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/17995.txt @@ -0,0 +1,12 @@ +Hm… I can’t test test test test test:test test. Is it test? +test test test test to test. +> 5 нояб. 2015 г., в 13:37, test test (test test) написал(а): +> +> ##- Please type your reply above this line -## +> Your test (test) has been updated. To add additional comments, reply to this email. +> +> +> +> +> +> diff --git a/QuoteParser.Tests/Resources/testEmls/SL/18075.eml b/QuoteParser.Tests/Resources/testEmls/SL/18075.txt similarity index 62% rename from QuoteParser.Tests/Resources/testEmls/SL/18075.eml rename to QuoteParser.Tests/Resources/testEmls/SL/18075.txt index 02e8a53..5d06303 100644 --- a/QuoteParser.Tests/Resources/testEmls/SL/18075.eml +++ b/QuoteParser.Tests/Resources/testEmls/SL/18075.txt @@ -1,12 +1,3 @@ -References: -In-Reply-To: -From: asd asd -Date: Fri, 06 Nov 2015 11:43:44 +0000 -Content-Type: multipart/alternative; boundary=001a1145a96a19f7270523ddc24c - ---001a1145a96a19f7270523ddc24c -Content-Type: text/plain; charset=UTF-8 - Hi asd! I'll asd an asd to asd asd asd: asd! @@ -42,11 +33,3 @@ text.text@text.com> ha scritto: text text text@text.eu - ---001a1145a96a19f7270523ddc24c -Content-Type: text/html; charset=UTF-8 -Content-Transfer-Encoding: quoted-printable - -asdasd - ---001a1145a96a19f7270523ddc24c-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/187.eml b/QuoteParser.Tests/Resources/testEmls/SL/187.eml deleted file mode 100644 index fabb3f5..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/187.eml +++ /dev/null @@ -1,52 +0,0 @@ -From: SS FF -Content-Type: multipart/alternative; boundary="Apple-Mail=_10105EB8-7BBE-46D2-BCA6-DCCF9FE7BF34" -Date: Thu, 5 Jun 2014 14:52:53 +0400 -References: -In-Reply-To: - - ---Apple-Mail=_10105EB8-7BBE-46D2-BCA6-DCCF9FE7BF34 -Content-Transfer-Encoding: quoted-printable -Content-Type: text/plain; - charset=utf-8 - -CENSORED, - -Looks good. Thanks! - -On 05.=D0=B8=D1=8E=D0=BD=D1=8F.2014, at 14:50, Censored Cen = - wrote: - -> CENSORED ->=20 -> text, text text text text! -> text text text text text text text text text text = -text. ->=20 -> Thank you and apologize once again. ->> In reply to: ->>=20 ->> Hello CENSORED, ->>=20 ->> teeeeeeeext! ->> We're placing teeeext text. ->>=20 ->> Thank you and apologize once again. -> You have received this message because you are a participant of the = -conversation in the CENSORED. Sincerely yours, CENSORED - --- -Regards, -Mew Mew, -CTO, ItIt, -sdf@sdf.com - - ---Apple-Mail=_10105EB8-7BBE-46D2-BCA6-DCCF9FE7BF34 -Content-Transfer-Encoding: quoted-printable -Content-Type: text/html; - charset=utf-8 - -sdfsdfsdf= - ---Apple-Mail=_10105EB8-7BBE-46D2-BCA6-DCCF9FE7BF34-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/187.txt b/QuoteParser.Tests/Resources/testEmls/SL/187.txt new file mode 100644 index 0000000..5f160d5 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/187.txt @@ -0,0 +1,28 @@ +CENSORED, + +Looks good. Thanks! + +On 05.июня.2014, at 14:50, Censored Cen wrote: + +> CENSORED +> +> text, text text text text! +> text text text text text text text text text text text. +> +> Thank you and apologize once again. +>> In reply to: +>> +>> Hello CENSORED, +>> +>> teeeeeeeext! +>> We're placing teeeext text. +>> +>> Thank you and apologize once again. +> You have received this message because you are a participant of the conversation in the CENSORED. Sincerely yours, CENSORED + +-- +Regards, +Mew Mew, +CTO, ItIt, +sdf@sdf.com + diff --git a/QuoteParser.Tests/Resources/testEmls/SL/18762.eml b/QuoteParser.Tests/Resources/testEmls/SL/18762.eml deleted file mode 100644 index 00cdfe5..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/18762.eml +++ /dev/null @@ -1,43 +0,0 @@ -Date: Wed, 11 Nov 2015 14:55:54 +0000 (UTC) -From: asd asd -Message-ID: <108> -In-Reply-To: -References: -Content-Type: multipart/alternative; - boundary="----=_Part_2615041_974986213.1447253754080" -Content-Length: 13652 - -------=_Part_2615041_974986213.1447253754080 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: quoted-printable - -Hello text. -I was text text to text text. text I've text . . text;s text text.text text= - ? text text text the text text from text ??? text is no text= -text text or text; I;ve text the text . .no text.In text text, so= -text I text text text text text-text text and text text text text= -text text and text . . . text text . =C2=A0.isn't text a text text a= -pp ?=C2=A0So I text to text text text and text all text text= -ed text text.I text text text to text the text and text text of= - text text .msi text text text text text the text text. -text text, text, text me .....text can I text text the text text= - text I'text text text ???text is text a text . . .=C2=A0 -text text text text me text ? -text text text text text, -text,text - -=C2=A0=C2=A0 =C2=A0 =C2=A0=20 - - - On Wednesday, November 11, 2015 2:51 PM, text text (text text= -ack) wrote: - =20 - - asd asd asd asd asd asd asd asd - -------=_Part_2615041_974986213.1447253754080 -Content-Type: text/html; charset=UTF-8 -Content-Transfer-Encoding: quoted-printable - - -------=_Part_2615041_974986213.1447253754080-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/18762.txt b/QuoteParser.Tests/Resources/testEmls/SL/18762.txt new file mode 100644 index 0000000..5e96871 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/18762.txt @@ -0,0 +1,15 @@ +Hello text. +I was text text to text text. text I've text . . text;s text text.text text ? text text text the text text from text ??? text is no texttext text or text; I;ve text the text . .no text.In text text, sotext I text text text text text-text text and text text text texttext text and text . . . text text .  .isn't text a text text app ? So I text to text text text and text all text texted text text.I text text text to text the text and text text of text text .msi text text text text text the text text. +text text, text, text me .....text can I text text the text text text I'text text text ???text is text a text . . .  +text text text text me text ? +text text text text text, +text,text + +       + + + On Wednesday, November 11, 2015 2:51 PM, text text (text textack) wrote: + + + asd asd asd asd asd asd asd asd + \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/SL/20.eml b/QuoteParser.Tests/Resources/testEmls/SL/20.eml deleted file mode 100644 index 66c6d9b..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/20.eml +++ /dev/null @@ -1,37 +0,0 @@ -In-Reply-To: -References: -Date: Tue, 27 May 2014 12:04:49 +0400 -From: Clark Kent -Content-Type: multipart/alternative; boundary=001a1133182c604a5304fa5d26f0 - ---001a1133182c604a5304fa5d26f0 -Content-Type: text/plain; charset=UTF-8 - -text text text text text text text text text -text text text text text -text text text - - -2014-05-23 16:32 GMT+04:00 catwoman catwoman : - -> Hello, -> -> -> -> text text text text text text text text text -> text text text -> -> -> -> Thanks, -> -> -> - ---001a1133182c604a5304fa5d26f0 -Content-Type: text/html; charset=UTF-8 -Content-Transfer-Encoding: quoted-printable - -some html here - ---001a1133182c604a5304fa5d26f0-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/20.txt b/QuoteParser.Tests/Resources/testEmls/SL/20.txt new file mode 100644 index 0000000..c10b038 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/20.txt @@ -0,0 +1,20 @@ +text text text text text text text text text +text text text text text +text text text + + +2014-05-23 16:32 GMT+04:00 catwoman catwoman : + +> Hello, +> +> +> +> text text text text text text text text text +> text text text +> +> +> +> Thanks, +> +> +> diff --git a/QuoteParser.Tests/Resources/testEmls/SL/21086.eml b/QuoteParser.Tests/Resources/testEmls/SL/21086.eml deleted file mode 100644 index 4c08aef..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/21086.eml +++ /dev/null @@ -1,52 +0,0 @@ -References: -From: asd asd -Date: Wed, 16 Mar 2016 10:12:39 +0200 -In-Reply-To: -Content-Type: multipart/alternative; - boundary="------------040909060702020004070705" - -This is a multi-part message in MIME format. ---------------040909060702020004070705 -Content-Type: text/plain; charset=utf-8; format=flowed -Content-Transfer-Encoding: 7bit - -text text SJ text text text text -text text text (text text). - -On Tue, 15 Mar 2016 12:30:19 +0000 - -> text, -> -> text text text text text. -> -> texttextme know if need any further assistance. -> -> text text, -> - -I text text text text text text text in text text - ---------------040909060702020004070705 -Content-Type: multipart/related; - boundary="------------010605090706020707000802" - - ---------------010605090706020707000802 -Content-Type: text/html; charset=utf-8 -Content-Transfer-Encoding: 8bit - - - - ---------------010605090706020707000802 -Content-Type: image/png; - name="asd.png" -Content-Transfer-Encoding: base64 -Content-ID: -Content-Disposition: inline; - filename="asd.png" - -asdasdasd ---------------010605090706020707000802-- - ---------------040909060702020004070705-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/21086.txt b/QuoteParser.Tests/Resources/testEmls/SL/21086.txt new file mode 100644 index 0000000..db1dea3 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/21086.txt @@ -0,0 +1,15 @@ +text text SJ text text text text +text text text (text text). + +On Tue, 15 Mar 2016 12:30:19 +0000 + +> text, +> +> text text text text text. +> +> texttextme know if need any further assistance. +> +> text text, +> + +I text text text text text text text in text text diff --git a/QuoteParser.Tests/Resources/testEmls/SL/214.eml b/QuoteParser.Tests/Resources/testEmls/SL/214.txt similarity index 53% rename from QuoteParser.Tests/Resources/testEmls/SL/214.eml rename to QuoteParser.Tests/Resources/testEmls/SL/214.txt index 387c4ff..7ac5978 100644 --- a/QuoteParser.Tests/Resources/testEmls/SL/214.eml +++ b/QuoteParser.Tests/Resources/testEmls/SL/214.txt @@ -1,13 +1,3 @@ -In-Reply-To: -References: <4C> - -Date: Fri, 6 Jun 2014 09:08:45 -0400 -From: Robert Stark -Content-Type: multipart/alternative; boundary=14dae93d9380baa5c504fb2a8fd9 - ---14dae93d9380baa5c504fb2a8fd9 -Content-Type: text/plain; charset=UTF-8 - Hey You, That sounds great! Love the text text text text. @@ -32,11 +22,3 @@ wrote: > > > - ---14dae93d9380baa5c504fb2a8fd9 -Content-Type: text/html; charset=UTF-8 -Content-Transfer-Encoding: quoted-printable - -HTML goes here - ---14dae93d9380baa5c504fb2a8fd9-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/21593.eml b/QuoteParser.Tests/Resources/testEmls/SL/21593.eml deleted file mode 100644 index db83c71..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/21593.eml +++ /dev/null @@ -1,36 +0,0 @@ -From: asd -Date: Fri, 15 Apr 2016 17:49:43 +0800 -References: - <1E8> - -In-reply-to: -Content-type: multipart/alternative; - boundary="Apple-Mail=_A67445BC-2824-4DE1-B0E7-E36FAAD9F168" - ---Apple-Mail=_A67445BC-2824-4DE1-B0E7-E36FAAD9F168 -Content-Transfer-Encoding: quoted-printable -Content-Type: text/plain; - charset=utf-8 - -I text, text. -> =E5=9C=A8 2016=E5=B9=B44=E6=9C=8815=E6=97=A5=EF=BC=8C17:14=EF=BC=8Ctext= - text (text text) = -=E5=86=99=E9=81=93=EF=BC=9A ->=20 -> ##- Please type your reply above this line -## -> Your request (text) has been updated. Please reply to this email. -> -> -> -> -> -> - ---Apple-Mail=_A67445BC-2824-4DE1-B0E7-E36FAAD9F168 -Content-Transfer-Encoding: quoted-printable -Content-Type: text/html; - charset=utf-8 - -= - ---Apple-Mail=_A67445BC-2824-4DE1-B0E7-E36FAAD9F168-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/21593.txt b/QuoteParser.Tests/Resources/testEmls/SL/21593.txt new file mode 100644 index 0000000..b7219fe --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/21593.txt @@ -0,0 +1,11 @@ +I text, text. +> 在 2016年4月15日,17:14,text text (text text) 写道: +> +> ##- Please type your reply above this line -## +> Your request (text) has been updated. Please reply to this email. +> +> +> +> +> +> diff --git a/QuoteParser.Tests/Resources/testEmls/SL/245.eml b/QuoteParser.Tests/Resources/testEmls/SL/245.eml deleted file mode 100644 index 98bd7ad..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/245.eml +++ /dev/null @@ -1,90 +0,0 @@ -Date: Mon, 09 Jun 2014 18:47:38 +0100 -From: Xxxx Yyyy -References: <53> -In-Reply-To: -Content-Type: multipart/alternative; - boundary="------------090906000807000806090401" - -This is a multi-part message in MIME format. ---------------090906000807000806090401 -Content-Type: text/plain; charset=UTF-8; format=flowed -Content-Transfer-Encoding: 7bit - -Hi CENSORED, - -So the text is taken from the text (text text text text text -texttexttext text text text text text text text text) wtf.py remains as the -same on https://example.com/example/e-xa-m-ple - -Specifically: - -> def _qwerty(self, dfg, curl, ggg=ggg, ignoreStatus=None): -> vvvvvvv = self.vvvvvv -> if dfg == 'BBB' or dfg == 'AAAA': -> vvvvv = vvvvv.copy() -> vvvvv['Content-Type'] = 'application/xml; charset=UTF-8' -> vvvvv['Content-Length'] = str(len(ggg)) if ggg else '0' -> -> xxx, bbb = main.http2.delete((self.Censored + -> curl).encode('utf-8'), dfg, vvvvvv=vvvvv, ggg=ggg) -> if xxx.item != 200 and xxx.head != 201 and -> (ignoreStatus != xxx.this): -> raise this.Exception(curl, bbb) -> -> #print xxx -> -> return xxx, ghj - -As you say text. I presume that texttext text call self._login() to text. -Is the text text by text? - -Kind regards, - -- CENSORED - - -On 02/06/2014 11:34, Wonder Woman wrote: -> Hi, -> No, text text text text 404 text text text -> text. -> -> -> 2014-06-02 14:00 GMT+04:00 Wonder Man >: -> -> Hi CENSORED, -> -> text text text text text text. -> text text text text text. -> -> - CENSORED -> -> -- -> Best regards, -> Wonder Woman -> QA Engineer -> WW Company -> http://www.example.com -> "Be wonder!" - - ---------------090906000807000806090401 -Content-Type: multipart/related; - boundary="------------080203010502070607090501" - - ---------------080203010502070607090501 -Content-Type: text/html; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -xyz - ---------------080203010502070607090501 -Content-Type: image/jpeg -Content-Transfer-Encoding: base64 -Content-ID: - -asdasd ---------------080203010502070607090501-- - ---------------090906000807000806090401-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/245.txt b/QuoteParser.Tests/Resources/testEmls/SL/245.txt new file mode 100644 index 0000000..e5ef89a --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/245.txt @@ -0,0 +1,49 @@ +Hi CENSORED, + +So the text is taken from the text (text text text text text texttexttext text text text text text text text text) wtf.py remains as the same on https://example.com/example/e-xa-m-ple + +Specifically: + +> def _qwerty(self, dfg, curl, ggg=ggg, ignoreStatus=None): +> vvvvvvv = self.vvvvvv +> if dfg == 'BBB' or dfg == 'AAAA': +> vvvvv = vvvvv.copy() +> vvvvv['Content-Type'] = 'application/xml; charset=UTF-8' +> vvvvv['Content-Length'] = str(len(ggg)) if ggg else '0' +> +> xxx, bbb = main.http2.delete((self.Censored + curl).encode('utf-8'), dfg, vvvvvv=vvvvv, ggg=ggg) +> if xxx.item != 200 and xxx.head != 201 and (ignoreStatus != xxx.this): +> raise this.Exception(curl, bbb) +> +> #print xxx +> +> return xxx, ghj + +As you say text. I presume that texttext text call self._login() to text. Is the text text by text? + +Kind regards, + +- CENSORED + + +On 02/06/2014 11:34, Wonder Woman wrote: +> Hi, +> No, text text text text 404 text text text text. +> +> +> 2014-06-02 14:00 GMT+04:00 Wonder Man >: +> +> Hi CENSORED, +> +> text text text text text text. +> text text text text text. +> +> - CENSORED +> +> -- Best regards, +> Wonder Woman +> QA Engineer +> WW Company +> http://www.example.com +> "Be wonder!" + diff --git a/QuoteParser.Tests/Resources/testEmls/SL/259.eml b/QuoteParser.Tests/Resources/testEmls/SL/259.eml deleted file mode 100644 index 067032d..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/259.eml +++ /dev/null @@ -1,85 +0,0 @@ -Date: Tue, 10 Jun 2014 18:06:26 +0200 -From: Xxxx Yyyy -References: <15> -In-Reply-To: -Content-Type: multipart/alternative; - boundary="------------040801010404070404010909" - -This is a multi-part message in MIME format. ---------------040801010404070404010909 -Content-Type: text/plain; charset=UTF-8; format=flowed -Content-Transfer-Encoding: 8bit - -Hi CENSORED, - -Let me clarify. - -text text text text text text text text text text text text text -text text text: forum, CENSORED, contact form and, I text -text, the text text text. - -I text that it text text text to text text in the text, text -text/text to CENSORED and text text text via text -form/text text. -Or text text text via CENSORED, text text text it's way text. - -text text text text text text text text text text text text text -text text text text text text text text text text text text text -text text text text text text text text text text text text text -"text text text text text text text you've text", text of -text a text 5 text text any text: at text I text text yu text -text text text text that text text text didn't text or text it. - -text text text text text text text text text text text text text -text text text text text of text CENSORED text: text text text text, -that's text text text text text text. - -Thank you and kind regards, --- ------------------------------------------------------------------------- -*Mister Resistor* -Web & Software Developer -@ Mister@Resistor.eu -✆ +39 222 3215548 -✆ Mister.Resistor (skype) ------------------------------------------------------------------------- - - -> Capitan America -> 10 Jun 2014 17:49 -> Hello Mister, -> -> Thank you for your feedback. -> -> -> -> -- -> Capitan America -> Avengers engineer -> Avengers, Inc -> http://www.example.com -> "Save the world!" - ---------------040801010404070404010909 -Content-Type: multipart/related; - boundary="------------010004020708000607070903" - - ---------------010004020708000607070903 -Content-Type: text/html; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -sdfsdfsdf - ---------------010004020708000607070903 -Content-Type: image/jpeg; x-apple-mail-type=stationery; - name="asd-asd-asd.jpg" -Content-Transfer-Encoding: base64 -Content-ID: -Content-Disposition: inline; - filename="sdf-sdf-sdf.jpg" - -asdasdasd ---------------010004020708000607070903-- - ---------------040801010404070404010909-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/259.txt b/QuoteParser.Tests/Resources/testEmls/SL/259.txt new file mode 100644 index 0000000..c7a44df --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/259.txt @@ -0,0 +1,41 @@ +Hi CENSORED, + +Let me clarify. + +text text text text text text text text text text text text text +text text text: forum, CENSORED, contact form and, I text text, the text text text. + +I text that it text text text to text text in the text, text text/text to CENSORED and text text text via text form/text text. +Or text text text via CENSORED, text text text it's way text. + +text text text text text text text text text text text text text +text text text text text text text text text text text text text +text text text text text text text text text text text text text +"text text text text text text text you've text", text of text a text 5 text text any text: at text I text text yu text text text text text that text text text didn't text or text it. + +text text text text text text text text text text text text text +text text text text text of text CENSORED text: text text text text, that's text text text text text text. + +Thank you and kind regards, +-- ------------------------------------------------------------------------ +*Mister Resistor* +Web & Software Developer +@ Mister@Resistor.eu +✆ +39 222 3215548 +✆ Mister.Resistor (skype) +------------------------------------------------------------------------ + + +> Capitan America +> 10 Jun 2014 17:49 +> Hello Mister, +> +> Thank you for your feedback. +> +> +> +> -- Capitan America +> Avengers engineer +> Avengers, Inc +> http://www.example.com +> "Save the world!" diff --git a/QuoteParser.Tests/Resources/testEmls/SL/26.eml b/QuoteParser.Tests/Resources/testEmls/SL/26.txt similarity index 67% rename from QuoteParser.Tests/Resources/testEmls/SL/26.eml rename to QuoteParser.Tests/Resources/testEmls/SL/26.txt index 433cee0..2c24d52 100644 --- a/QuoteParser.Tests/Resources/testEmls/SL/26.eml +++ b/QuoteParser.Tests/Resources/testEmls/SL/26.txt @@ -1,12 +1,3 @@ -In-Reply-To: -References: -Date: Tue, 27 May 2014 13:09:23 +0200 -From: x y z c -Content-Type: multipart/alternative; boundary=001a11347c826ff86a04fa5fbac3 - ---001a11347c826ff86a04fa5fbac3 -Content-Type: text/plain; charset=UTF-8 - Dear INSERT_YOUR_NAME, text text text text text text text text text text text text @@ -45,11 +36,3 @@ who@is.com>: > ##- Please type your reply above this line -## > > some text - ---001a11347c826ff86a04fa5fbac3 -Content-Type: text/html; charset=UTF-8 -Content-Transfer-Encoding: quoted-printable - -html goes here - ---001a11347c826ff86a04fa5fbac3-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/3711.eml b/QuoteParser.Tests/Resources/testEmls/SL/3711.txt similarity index 53% rename from QuoteParser.Tests/Resources/testEmls/SL/3711.eml rename to QuoteParser.Tests/Resources/testEmls/SL/3711.txt index 3b706a0..a53146d 100644 --- a/QuoteParser.Tests/Resources/testEmls/SL/3711.eml +++ b/QuoteParser.Tests/Resources/testEmls/SL/3711.txt @@ -1,14 +1,3 @@ -Date: Mon, 17 Nov 2014 13:53:09 -0800 -From: asd asd -In-Reply-To: -References: <20> <14> -Content-Type: multipart/alternative; - boundary="----=_Part_327693_146042776.1416261189157" - -------=_Part_327693_146042776.1416261189157 -Content-Type: text/plain; charset="UTF-8" -Content-Transfer-Encoding: 7bit - Hello Text, Text, we Text Text to Text our Text Text, Text Text for Text Text Text. @@ -46,10 +35,3 @@ Text Text, Text Text - -------=_Part_327693_146042776.1416261189157 -Content-Type: text/html; charset="UTF-8" -Content-Transfer-Encoding: quoted-printable - - -------=_Part_327693_146042776.1416261189157-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/374.eml b/QuoteParser.Tests/Resources/testEmls/SL/374.eml deleted file mode 100644 index c3050b8..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/374.eml +++ /dev/null @@ -1,60 +0,0 @@ -In-Reply-To: -References: <23> - -Date: Tue, 17 Jun 2014 19:42:55 +0200 -From: asdasd -Content-Type: multipart/alternative; boundary=089e0149c5948375c704fc0bac5a - ---089e0149c5948375c704fc0bac5a -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: quoted-printable - -Yes, text text text text text text text. - - - -Am Dienstag, 17. Juni 2014 schrieb Xxx Yyyy : - -> CENSORED, -> -> text text text text text text text. -> text, text 'text' text text text text text text associate= -d -> text text text. -> -> Thank you. -> -> In reply to: -> -> -> Hello CENSORED, -> -> the text text text: -> -> *http://example.example.com/example -> * -> -> -> -> ___________________________ -> CENSORED L=C3=BClsasdas -> text-text -> text@text.de -> -> - - - ---=20 -___________________________ -CENSORED L=C3=BClssdd -text-text -text@text.de - ---089e0149c5948375c704fc0bac5a -Content-Type: text/html; charset=UTF-8 -Content-Transfer-Encoding: quoted-printable - -html - ---089e0149c5948375c704fc0bac5a-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/374.txt b/QuoteParser.Tests/Resources/testEmls/SL/374.txt new file mode 100644 index 0000000..57c3f3e --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/374.txt @@ -0,0 +1,40 @@ +Yes, text text text text text text text. + + + +Am Dienstag, 17. Juni 2014 schrieb Xxx Yyyy : + +> CENSORED, +> +> text text text text text text text. +> text, text 'text' text text text text text text associated +> text text text. +> +> Thank you. +> +> In reply to: +> +> +> Hello CENSORED, +> +> the text text text: +> +> *http://example.example.com/example +> * +> +> +> +> ___________________________ +> CENSORED Lülsasdas +> text-text +> text@text.de +> +> + + + +-- +___________________________ +CENSORED Lülssdd +text-text +text@text.de diff --git a/QuoteParser.Tests/Resources/testEmls/SL/3997.eml b/QuoteParser.Tests/Resources/testEmls/SL/3997.eml deleted file mode 100644 index 01c60ce..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/3997.eml +++ /dev/null @@ -1,55 +0,0 @@ -From: asd -Date: Wed, 26 Nov 2014 04:44:11 +0000 -References: <35>, -In-Reply-To: -Content-Type: multipart/alternative; - boundary="_000_0541E2CE51C4411F9789CA547D9E6C29vvainformatiseringnl_" - ---_000_0541E2CE51C4411F9789CA547D9E6C29vvainformatiseringnl_ -Content-Type: text/plain; charset="Windows-1252" -Content-Transfer-Encoding: quoted-printable - -text, - -text you text text. - -text, -text - - - -Op 25 nov. 2014 om 18:44 heeft text text > het volgende geschreven: - -text, - -text you for text us! -text text has text text text. - -text for the text. -text text text if text any text text. -In reply to: - -text I text to text text for exmpla.example.com, I text the text text: - -HTTP ERROR 500 -text text /text/text/text. text -text text text - -So I text use text. text is text text? - -=97 -text: text text X -text: text -text text text this text text text text a text of the convers= -ation in text text text-8674. text text, text - ---_000_0541E2CE51C4411F9789CA547D9E6C29vvainformatiseringnl_ -Content-Type: text/html; charset="Windows-1252" -Content-Transfer-Encoding: quoted-printable - - - - ---_000_0541E2CE51C4411F9789CA547D9E6C29vvainformatiseringnl_-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/3997.txt b/QuoteParser.Tests/Resources/testEmls/SL/3997.txt new file mode 100644 index 0000000..bea3179 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/3997.txt @@ -0,0 +1,32 @@ +text, + +text you text text. + +text, +text + + + +Op 25 nov. 2014 om 18:44 heeft text text > het volgende geschreven: + +text, + +text you for text us! +text text has text text text. + +text for the text. +text text text if text any text text. +In reply to: + +text I text to text text for exmpla.example.com, I text the text text: + +HTTP ERROR 500 +text text /text/text/text. text +text text text + +So I text use text. text is text text? + +— +text: text text X +text: text +text text text this text text text text a text of the conversation in text text text-8674. text text, text diff --git a/QuoteParser.Tests/Resources/testEmls/SL/4008.eml b/QuoteParser.Tests/Resources/testEmls/SL/4008.eml deleted file mode 100644 index 620ad1e..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/4008.eml +++ /dev/null @@ -1,83 +0,0 @@ -From: sdf sdf -Content-Type: multipart/alternative; boundary="Apple-Mail=_E2DBC586-C87C-4D23-B26C-CD1EF514D12E" -Date: Wed, 26 Nov 2014 13:25:31 +0100 -References: -In-Reply-To: - ---Apple-Mail=_E2DBC586-C87C-4D23-B26C-CD1EF514D12E -Content-Transfer-Encoding: quoted-printable -Content-Type: text/plain; - charset=utf-8 - -Hello text, - -text text is text. - -text text! - - text text -text ds. text=C5=BCy i obs=C5=82ugi text -+48 123 123 123 - -E-mail: m.text@text.pl=20 -Skype: m.text.text - =20 - - - - - - - - - - - - -Wiadomo=C5=9B=C4=87 napisana przez text text = - w dniu 25 lis 2014, o godz. 21:44: - -> Hello text, ->=20 -> text text text be text text. -> text, text it text and text me text if the text text. ->=20 -> text text. ->> In reply to: ->>=20 ->> text text, ->>=20 ->> text text for text text! ->> We're text the text text text. ->>=20 ->> text text the text. -> text text text text text text text are a text of the = -text in the text text-8679. text text, text - - ---Apple-Mail=_E2DBC586-C87C-4D23-B26C-CD1EF514D12E -Content-Type: multipart/related; - type="text/html"; - boundary="Apple-Mail=_7A9506CA-C3BE-42CA-B219-E293EA6B5D8D" - - ---Apple-Mail=_7A9506CA-C3BE-42CA-B219-E293EA6B5D8D -Content-Transfer-Encoding: quoted-printable -Content-Type: text/html; - charset=utf-8 - -= - ---Apple-Mail=_7A9506CA-C3BE-42CA-B219-E293EA6B5D8D -Content-Transfer-Encoding: base64 -Content-Disposition: inline; - filename=sdf.gif -Content-Type: image/gif; - name="sdf.gif" -Content-Id: - -texttext - ---Apple-Mail=_7A9506CA-C3BE-42CA-B219-E293EA6B5D8D-- - ---Apple-Mail=_E2DBC586-C87C-4D23-B26C-CD1EF514D12E-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/4008.txt b/QuoteParser.Tests/Resources/testEmls/SL/4008.txt new file mode 100644 index 0000000..55b8f88 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/4008.txt @@ -0,0 +1,43 @@ +Hello text, + +text text is text. + +text text! + + text text +text ds. textży i obsługi text ++48 123 123 123 + +E-mail: m.text@text.pl +Skype: m.text.text + + + + + + + + + + + + + +Wiadomość napisana przez text text w dniu 25 lis 2014, o godz. 21:44: + +> Hello text, +> +> text text text be text text. +> text, text it text and text me text if the text text. +> +> text text. +>> In reply to: +>> +>> text text, +>> +>> text text for text text! +>> We're text the text text text. +>> +>> text text the text. +> text text text text text text text are a text of the text in the text text-8679. text text, text + diff --git a/QuoteParser.Tests/Resources/testEmls/SL/4169.eml b/QuoteParser.Tests/Resources/testEmls/SL/4169.eml deleted file mode 100644 index 0bbad35..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/4169.eml +++ /dev/null @@ -1,106 +0,0 @@ -Date: Mon, 01 Dec 2014 13:48:44 +0100 -From: asd asd -References: <307> -In-Reply-To: -Content-Type: multipart/alternative; - boundary="------------090803050502000801040003" - -This is a multi-part message in MIME format. ---------------090803050502000801040003 -Content-Type: text/plain; charset=utf-8; format=flowed -Content-Transfer-Encoding: 8bit - - -Am 01.12.2014 um 11:23 schrieb text text: -> Hello text, - -Hi text! -> -> text you text text us! -> -> text, text to: https://exmpl.example.com/asd -> (in text of text -> text text text text text) -> text in text text text. -> text to /text, text text text> Add to "text text" text -> text text: -> https://exmpl.example.com/asd -> -> https://exmpl.example.com/asd -> -> https://exmpl.example.com/asd -> -> https://exmpl.example.com/asd -> -> https://exmpl.example.com/asd -> -> text, and text to text in text -> https://exmpl.example.com/asd -> - -text for text text text. - -The text text text set. So, text text text we text text text -text text text text, e.g. for text text text. - -text, text text it text text text. Was the text SSL text -we text text text 5 text text text 6? - -text text - - text - -> -> text me text text the text text. -> -> On 1 December 2014 at 12:53, text text > wrote: -> -> We can't access our text in text at -> https://text.text.com. We are text text text. We -> text to text text, text, it text text. No text text -> text get text to the the text. text text? text text we text? -> -> --- -> OS: Other -> Build: Not accessable (see above) -> -> -> -> -> -- -> text text -> text text -> text, text -> http://www.text.com -> "text text text!" - --- -_____________________________________ - -text. text text -text text -text 65b -D-33221 text - -email text.text@text.biz - text.text@text.de -URL http://www.text.biz/ - http://www.text.de -Fon ++49 (5251) 12345 -Fax ++49 (3212) 1123456 -Mobile ++49 (178) 1234567 - -text: text text, HRB 6333 -Geschäftsführer: Dr. text text -_____________________________________ - - ---------------090803050502000801040003 -Content-Type: text/html; charset=utf-8 -Content-Transfer-Encoding: 8bit - - - - ---------------090803050502000801040003-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/4169.txt b/QuoteParser.Tests/Resources/testEmls/SL/4169.txt new file mode 100644 index 0000000..4dea0aa --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/4169.txt @@ -0,0 +1,70 @@ + +Am 01.12.2014 um 11:23 schrieb text text: +> Hello text, + +Hi text! +> +> text you text text us! +> +> text, text to: https://exmpl.example.com/asd (in text of text text text text text text) +> text in text text text. +> text to /text, text text text> Add to "text text" text text text: +> https://exmpl.example.com/asd +> https://exmpl.example.com/asd +> https://exmpl.example.com/asd +> https://exmpl.example.com/asd +> https://exmpl.example.com/asd +> text, and text to text in text https://exmpl.example.com/asd + +text for text text text. + +The text text text set. So, text text text we text text text text text text text, e.g. for text text text. + +text, text text it text text text. Was the text SSL text we text text text 5 text text text 6? + +text text + + text + +> +> text me text text the text text. +> +> On 1 December 2014 at 12:53, text text > wrote: +> +> We can't access our text in text at +> https://text.text.com. We are text text text. We +> text to text text, text, it text text. No text text +> text get text to the the text. text text? text text we text? +> +> --- +> OS: Other +> Build: Not accessable (see above) +> +> +> +> +> -- text text +> text text +> text, text +> http://www.text.com +> "text text text!" + +-- _____________________________________ + +text. text text +text text +text 65b +D-33221 text + +email text.text@text.biz + text.text@text.de +URL http://www.text.biz/ + http://www.text.de +Fon ++49 (5251) 12345 +Fax ++49 (3212) 1123456 +Mobile ++49 (178) 1234567 + +text: text text, HRB 6333 +Geschäftsführer: Dr. text text +_____________________________________ + diff --git a/QuoteParser.Tests/Resources/testEmls/SL/427.eml b/QuoteParser.Tests/Resources/testEmls/SL/427.eml deleted file mode 100644 index 6c853b8..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/427.eml +++ /dev/null @@ -1,54 +0,0 @@ -From: Tim Cook -Date: Fri, 20 Jun 2014 15:55:46 +0000 -References: - -In-Reply-To: -Content-Type: multipart/alternative; - boundary="_000_CFC9D143196F6agougnecdmworldagencycom_" - ---_000_CFC9D143196F6agougnecdmworldagencycom_ -Content-Type: text/plain; charset=WINDOWS-1252 -Content-Transfer-Encoding: quoted-printable - -Hi Censored, - -text I text my text text@text.com text text text text = -text text text text. text it text I text text text text? text I text I do = -to text text text text I text to text text text and text? I text text un= -text text as =AB gjhgh =BB and text text text text text I don=92t text the = -text text. - -Thank you. - -text - --Original Message-On 20/06/2014 11:40 AM, "Xxxxx Yyyyy" > wrote: - -Hello CENSORED, - -text text as text text text, 'text' text, text is text text text, text= - to text text text. -text text text text text, text text text text the text text as text text ac= -text text, text text text text? - -Thank you. -In reply to: - - -Hi there, - -text text text text text. - - ---_000_CFC9D143196F6agougnecdmworldagencycom_ -Content-Type: text/html; charset=WINDOWS-1252 -Content-ID: <65F1C02B3C177B4B80043F595B9D9A92@ssdf.pvt> -Content-Transfer-Encoding: quoted-printable - -sdfsdf - - - ---_000_CFC9D143196F6agougnecdmworldagencycom_-- - diff --git a/QuoteParser.Tests/Resources/testEmls/SL/427.txt b/QuoteParser.Tests/Resources/testEmls/SL/427.txt new file mode 100644 index 0000000..4cc3712 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/427.txt @@ -0,0 +1,23 @@ +Hi Censored, + +text I text my text text@text.com text text text text text text text text. text it text I text text text text? text I text I do to text text text text I text to text text text and text? I text text untext text as « gjhgh » and text text text text text I don’t text the text text. + +Thank you. + +text + +-Original Message-On 20/06/2014 11:40 AM, "Xxxxx Yyyyy" > wrote: + +Hello CENSORED, + +text text as text text text, 'text' text, text is text text text, text to text text text. +text text text text text, text text text text the text text as text text actext text, text text text text? + +Thank you. +In reply to: + + +Hi there, + +text text text text text. + diff --git a/QuoteParser.Tests/Resources/testEmls/SL/484.eml b/QuoteParser.Tests/Resources/testEmls/SL/484.eml deleted file mode 100644 index 0ffbfd7..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/484.eml +++ /dev/null @@ -1,33 +0,0 @@ -In-Reply-To: -References: <25> - -Date: Wed, 25 Jun 2014 18:13:22 +0300 -From: Yyyyy Mmmmo -Content-Type: multipart/alternative; boundary=001a11360010628b5e04fcaa844b - ---001a11360010628b5e04fcaa844b -Content-Type: text/plain; charset=UTF-8 - -Thank you. I text text text text text. text I don't text an text -to text text text, text "text text" text my text text. -On Jun 25, 2014 5:51 PM, "Harry Potter" -wrote: - -> Hello Yyyyy, -> -> Thank you for text text! -> text, text to text text -> , -> text text is vtext in text text. -> -> -> -> - ---001a11360010628b5e04fcaa844b -Content-Type: text/html; charset=UTF-8 -Content-Transfer-Encoding: quoted-printable - -sdfsdfsdf - ---001a11360010628b5e04fcaa844b-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/484.txt b/QuoteParser.Tests/Resources/testEmls/SL/484.txt new file mode 100644 index 0000000..74f08f3 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/484.txt @@ -0,0 +1,15 @@ +Thank you. I text text text text text. text I don't text an text +to text text text, text "text text" text my text text. +On Jun 25, 2014 5:51 PM, "Harry Potter" +wrote: + +> Hello Yyyyy, +> +> Thank you for text text! +> text, text to text text +> , +> text text is vtext in text text. +> +> +> +> diff --git a/QuoteParser.Tests/Resources/testEmls/SL/599.eml b/QuoteParser.Tests/Resources/testEmls/SL/599.txt similarity index 60% rename from QuoteParser.Tests/Resources/testEmls/SL/599.eml rename to QuoteParser.Tests/Resources/testEmls/SL/599.txt index 057e19e..522b812 100644 --- a/QuoteParser.Tests/Resources/testEmls/SL/599.eml +++ b/QuoteParser.Tests/Resources/testEmls/SL/599.txt @@ -1,14 +1,3 @@ -Content-Type: multipart/alternative; - boundary="=_de429ca3d0871ef0b2b1e37865cbd8b6" -Date: Tue, 01 Jul 2014 10:43:19 +0200 -From: dfgdfg dfgdfg -In-Reply-To: -References: - ---=_de429ca3d0871ef0b2b1e37865cbd8b6 -Content-Transfer-Encoding: 7bit -Content-Type: text/plain; charset=UTF-8 - Oh, text text. @@ -58,12 +47,3 @@ text text? > text text text text text text you are a text of the text in the text text-6831. text text, text - ---=_de429ca3d0871ef0b2b1e37865cbd8b6 -Content-Transfer-Encoding: quoted-printable -Content-Type: text/html; charset=UTF-8 - -asd - ---=_de429ca3d0871ef0b2b1e37865cbd8b6-- - diff --git a/QuoteParser.Tests/Resources/testEmls/SL/704.eml b/QuoteParser.Tests/Resources/testEmls/SL/704.eml deleted file mode 100644 index 5500c4d..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/704.eml +++ /dev/null @@ -1,42 +0,0 @@ -References: -From: asd -Content-Type: multipart/alternative; - boundary=Apple-Mail-FDA52878-0B63-43D4-8F27-95A9FCF8A148 -In-Reply-To: -Date: Thu, 3 Jul 2014 20:28:53 +0200 - - ---Apple-Mail-FDA52878-0B63-43D4-8F27-95A9FCF8A148 -Content-Type: text/plain; - charset=utf-8 -Content-Transfer-Encoding: quoted-printable - -Hello CENS ( it seems that we have same name :-) ) - -Im text to text text text text has text text and text. text you a text. - -text text -text - -Dnia 3 lip 2014 o godz. 19:33 text text = - napisa=C5=82(a): - -> Hello text, ->=20 -> text text text. -> text text the text and text text to text it. The text text be text text= -row, so you'll be text to text text text text text text text and= - text it on text text text. ->=20 -> text text and text text our text text the text text again= -! - - ---Apple-Mail-FDA52878-0B63-43D4-8F27-95A9FCF8A148 -Content-Type: text/html; - charset=utf-8 -Content-Transfer-Encoding: quoted-printable - -asdasd= - ---Apple-Mail-FDA52878-0B63-43D4-8F27-95A9FCF8A148-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/704.txt b/QuoteParser.Tests/Resources/testEmls/SL/704.txt new file mode 100644 index 0000000..78a355b --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/704.txt @@ -0,0 +1,16 @@ +Hello CENS ( it seems that we have same name :-) ) + +Im text to text text text text has text text and text. text you a text. + +text text +text + +Dnia 3 lip 2014 o godz. 19:33 text text napisał(a): + +> Hello text, +> +> text text text. +> text text the text and text text to text it. The text text be text textrow, so you'll be text to text text text text text text text and text it on text text text. +> +> text text and text text our text text the text text again! + diff --git a/QuoteParser.Tests/Resources/testEmls/SL/75.eml b/QuoteParser.Tests/Resources/testEmls/SL/75.eml deleted file mode 100644 index d5e2bbd..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/75.eml +++ /dev/null @@ -1,46 +0,0 @@ -Date: Thu, 29 May 2014 10:09:57 -0500 -From: Ghj Jlkj -In-Reply-To: -References: -Content-Type: multipart/alternative; boundary="53874dc5_238e1f29_b5d" - ---53874dc5_238e1f29_b5d -Content-Type: text/plain; charset="utf-8" -Content-Transfer-Encoding: quoted-printable -Content-Disposition: inline - -Thor, looks like this issue has been fixed. We=E2=80=99re still waiting= - text text text text text text text text text text text . - ---=C2=A0 -X Y -https://example.com -654-401-8599 x523 - -On May 29, 2014 at 10:01:16 AM, Xxxx Yyyy (asdasd=40asdads= -asd.cd) wrote: - -Hello CENSORED, - -Thank you for contacting us=21 - -Please, clarify text text text text. - -text text text text text. - -Thank you. -In reply to: - -Hello CENSORED, - -CENSOREDCENSOREDCENSOREDCENSOREDCENSOREDCENSOREDCENSOREDCENSOREDCENSORED= -text text text. - ---53874dc5_238e1f29_b5d -Content-Type: text/html; charset="utf-8" -Content-Transfer-Encoding: quoted-printable -Content-Disposition: inline - -html ---53874dc5_238e1f29_b5d-- - diff --git a/QuoteParser.Tests/Resources/testEmls/SL/75.txt b/QuoteParser.Tests/Resources/testEmls/SL/75.txt new file mode 100644 index 0000000..fc38411 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/75.txt @@ -0,0 +1,23 @@ +Thor, looks like this issue has been fixed. We’re still waiting text text text text text text text text text text text . + +--  +X Y +https://example.com +654-401-8599 x523 + +On May 29, 2014 at 10:01:16 AM, Xxxx Yyyy (asdasd@asdadsasd.cd) wrote: + +Hello CENSORED, + +Thank you for contacting us! + +Please, clarify text text text text. + +text text text text text. + +Thank you. +In reply to: + +Hello CENSORED, + +CENSOREDCENSOREDCENSOREDCENSOREDCENSOREDCENSOREDCENSOREDCENSOREDCENSOREDtext text text. diff --git a/QuoteParser.Tests/Resources/testEmls/SL/800.eml b/QuoteParser.Tests/Resources/testEmls/SL/800.txt similarity index 53% rename from QuoteParser.Tests/Resources/testEmls/SL/800.eml rename to QuoteParser.Tests/Resources/testEmls/SL/800.txt index 26222b6..10646dd 100644 --- a/QuoteParser.Tests/Resources/testEmls/SL/800.eml +++ b/QuoteParser.Tests/Resources/testEmls/SL/800.txt @@ -1,14 +1,3 @@ -In-Reply-To: -References: - -From: asd asd -Date: Thu, 10 Jul 2014 12:15:14 +0200 -Content-Type: multipart/alternative; boundary=047d7b677a1a04d23d04fdd41b03 - ---047d7b677a1a04d23d04fdd41b03 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: quoted-printable - Hello! I've text a text text text. It text text the text text text @@ -21,12 +10,10 @@ text, text -2014-07-10 12:13 GMT+02:00 asd asd +2014-07-10 12:13 GMT+02:00 asd asd : -> But it's 2nd of text. I text it text - the text is in text text= -s +> But it's 2nd of text. I text it text - the text is in text texts > text text. > > text, @@ -35,18 +22,10 @@ s ---=20 +-- text.-Ing. text text text | text of text text text | text us at text.com E-text: text.text@text.com text: +43 (0) 660 123 12 12 | text: @text - ---047d7b677a1a04d23d04fdd41b03 -Content-Type: text/html; charset=UTF-8 -Content-Transfer-Encoding: quoted-printable - -sdfsdf - ---047d7b677a1a04d23d04fdd41b03-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/880.eml b/QuoteParser.Tests/Resources/testEmls/SL/880.txt similarity index 66% rename from QuoteParser.Tests/Resources/testEmls/SL/880.eml rename to QuoteParser.Tests/Resources/testEmls/SL/880.txt index 42e789d..d9f9113 100644 --- a/QuoteParser.Tests/Resources/testEmls/SL/880.eml +++ b/QuoteParser.Tests/Resources/testEmls/SL/880.txt @@ -1,14 +1,3 @@ -In-Reply-To: -References: - - -Date: Mon, 14 Jul 2014 11:20:03 -0700 -From: Jin Gray -Content-Type: multipart/alternative; boundary=047d7beb9ff4faec2a04fe2b564f - ---047d7beb9ff4faec2a04fe2b564f -Content-Type: text/plain; charset=UTF-8 - Yes, text's text text up. As text text, we text: @@ -39,11 +28,3 @@ On Mon, Jul 14, 2014 at 11:11 AM, Dan Banan wrote: > > > - ---047d7beb9ff4faec2a04fe2b564f -Content-Type: text/html; charset=UTF-8 -Content-Transfer-Encoding: quoted-printable - -html - ---047d7beb9ff4faec2a04fe2b564f-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/967.eml b/QuoteParser.Tests/Resources/testEmls/SL/967.eml deleted file mode 100644 index f253fc1..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/967.eml +++ /dev/null @@ -1,54 +0,0 @@ -In-Reply-To: <22> -References: - - - - <23> - - - <22> -Date: Fri, 18 Jul 2014 11:02:23 -0700 -From: Dart Vader -Content-Type: multipart/alternative; boundary=001a1134ca1e2a91e604fe7b8f4a - ---001a1134ca1e2a91e604fe7b8f4a -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: quoted-printable - -text, text text it text text on my text. - - -On Fri, Jul 18, 2014 at 1:17 AM, Dart Vader wrote: - -> text text and text, -> -> text text my text for text text to text text text -> text. -> text text text text text so text text is no "text text= -=E2=80=9D -> text text text. -> -> text you text any text text text text to text us text. -> -> text text. -> -- -> text text -> -> text text -> text text -> text -> http://www.example.com -> "text text text!" -> -> -> - ---001a1134ca1e2a91e604fe7b8f4a -Content-Type: text/html; charset=UTF-8 -Content-Transfer-Encoding: quoted-printable - -html - ---001a1134ca1e2a91e604fe7b8f4a-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/967.txt b/QuoteParser.Tests/Resources/testEmls/SL/967.txt new file mode 100644 index 0000000..e275a86 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/967.txt @@ -0,0 +1,27 @@ +text, text text it text text on my text. + + +On Fri, Jul 18, 2014 at 1:17 AM, Dart Vader wrote: + +> text text and text, +> +> text text my text for text text to text text text +> text. +> text text text text text so text text is no "text text” +> text text text. +> +> text you text any text text text text to text us text. +> +> text text. +> -- +> text text +> +> text text +> text text +> text +> http://www.example.com +> "text text text!" +> +> +> diff --git a/QuoteParser.Tests/Resources/testEmls/empty/102.eml b/QuoteParser.Tests/Resources/testEmls/empty/102.txt similarity index 67% rename from QuoteParser.Tests/Resources/testEmls/empty/102.eml rename to QuoteParser.Tests/Resources/testEmls/empty/102.txt index 17ac08d..d13dc74 100644 --- a/QuoteParser.Tests/Resources/testEmls/empty/102.eml +++ b/QuoteParser.Tests/Resources/testEmls/empty/102.txt @@ -1,8 +1,3 @@ -Date: Fri, 30 May 2014 22:51:52 +0400 -From: asdasd dddasd -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 7bit - text: 27 May 2014 11:32:49,278 asd [asd ] [asd0] [] asd on asd asd for asd asd asd sd asd-3 diff --git a/QuoteParser.Tests/Resources/testEmls/empty/1165.eml b/QuoteParser.Tests/Resources/testEmls/empty/1165.txt similarity index 95% rename from QuoteParser.Tests/Resources/testEmls/empty/1165.eml rename to QuoteParser.Tests/Resources/testEmls/empty/1165.txt index 326c4b8..2767a88 100644 --- a/QuoteParser.Tests/Resources/testEmls/empty/1165.eml +++ b/QuoteParser.Tests/Resources/testEmls/empty/1165.txt @@ -1,8 +1,3 @@ -Date: Mon, 4 Aug 2014 09:10:14 -0500 -From: asd asd asd -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 7bit - text text, text text-text on text text: - a.text.text (text text) - b.text.text (text text) diff --git a/QuoteParser.Tests/Resources/testEmls/empty/146.eml b/QuoteParser.Tests/Resources/testEmls/empty/146.eml deleted file mode 100644 index e6d1337..0000000 --- a/QuoteParser.Tests/Resources/testEmls/empty/146.eml +++ /dev/null @@ -1,26 +0,0 @@ -From: asd asd -Date: Wed, 4 Jun 2014 03:45:07 +0000 -References: <182> -In-Reply-To: <182> -Content-Type: multipart/alternative; - boundary="_000_d088ddef1e7a412a90e69898ea85df0cAM2PR01MB0708eurprd01pr_" - ---_000_d088ddef1e7a412a90e69898ea85df0cAM2PR01MB0708eurprd01pr_ -Content-Type: text/plain; charset="us-ascii" -Content-Transfer-Encoding: quoted-printable - -text'm text text text text text text on 23/06/2014. -text text't text. -text text text text text@text.nl. - -text, -text text - - ---_000_d088ddef1e7a412a90e69898ea85df0cAM2PR01MB0708eurprd01pr_ -Content-Type: text/html; charset="us-ascii" -Content-Transfer-Encoding: quoted-printable - - - ---_000_d088ddef1e7a412a90e69898ea85df0cAM2PR01MB0708eurprd01pr_-- diff --git a/QuoteParser.Tests/Resources/testEmls/empty/146.txt b/QuoteParser.Tests/Resources/testEmls/empty/146.txt new file mode 100644 index 0000000..2539450 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/empty/146.txt @@ -0,0 +1,7 @@ +text'm text text text text text text on 23/06/2014. +text text't text. +text text text text text@text.nl. + +text, +text text + diff --git a/QuoteParser.Tests/Resources/testEmls/empty/20454.eml b/QuoteParser.Tests/Resources/testEmls/empty/20454.eml deleted file mode 100644 index e4f2753..0000000 --- a/QuoteParser.Tests/Resources/testEmls/empty/20454.eml +++ /dev/null @@ -1,12 +0,0 @@ -In-Reply-To: -References: -Date: Fri, 12 Feb 2016 10:28:06 +0300 -From: asdasdasd -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: base64 - -0YLQtdC60YEhINGC0LXQutGBINGC0LXQutGBINCyINGC0LXQutGBINGC0LXQutGBICwg0LIg0YLQ -tdC60YEg0YLQtdC60YEsDQoNCnRleHQgdGV4dCAiL3RleHQvdGV4dDMvdGV4dCIgZm9yIDExLjIy -LjIzLjEyMyBhdCAyMDE2LTAyLTEyIDA4OjI2OjMxICswMTAwDQoNCnRleHQgdGV4dCAiL3RleHQv -dGV4dDMvdGV4dD90ZXh0PTEwMCIgZm9yIDExLjIyLjIzLjEyMyBhdA0KMjAxNi0wMi0xMiAwODoy -NjozMiArMDEwMA0K0YLQtdC60YEg0YLQtdC60YEg0YLQtdC60YE= diff --git a/QuoteParser.Tests/Resources/testEmls/empty/20454.txt b/QuoteParser.Tests/Resources/testEmls/empty/20454.txt new file mode 100644 index 0000000..0612164 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/empty/20454.txt @@ -0,0 +1,7 @@ +текс! текс текс в текс текс , в текс текс, + +text text "/text/text3/text" for 11.22.23.123 at 2016-02-12 08:26:31 +0100 + +text text "/text/text3/text?text=100" for 11.22.23.123 at +2016-02-12 08:26:32 +0100 +текс текс текс \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/empty/205.eml b/QuoteParser.Tests/Resources/testEmls/empty/205.txt similarity index 64% rename from QuoteParser.Tests/Resources/testEmls/empty/205.eml rename to QuoteParser.Tests/Resources/testEmls/empty/205.txt index 9d67a1f..20410dc 100644 --- a/QuoteParser.Tests/Resources/testEmls/empty/205.eml +++ b/QuoteParser.Tests/Resources/testEmls/empty/205.txt @@ -1,8 +1,3 @@ -Date: Fri, 6 Jun 2014 00:36:22 -0500 -From: asd asd -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 7bit - Product: asd Name: asd asd diff --git a/QuoteParser.Tests/Resources/testEmls/empty/3505.eml b/QuoteParser.Tests/Resources/testEmls/empty/3505.txt similarity index 50% rename from QuoteParser.Tests/Resources/testEmls/empty/3505.eml rename to QuoteParser.Tests/Resources/testEmls/empty/3505.txt index 0e4c9ea..d682e3c 100644 --- a/QuoteParser.Tests/Resources/testEmls/empty/3505.eml +++ b/QuoteParser.Tests/Resources/testEmls/empty/3505.txt @@ -1,8 +1,3 @@ -Date: Tue, 11 Nov 2014 19:24:54 +0300 -From: -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 7bit - Email: asdasd@asdasd.com Product Version: Product Build: diff --git a/QuoteParser.Tests/Resources/testEmls/empty/93.eml b/QuoteParser.Tests/Resources/testEmls/empty/93.eml deleted file mode 100644 index 4b49325..0000000 --- a/QuoteParser.Tests/Resources/testEmls/empty/93.eml +++ /dev/null @@ -1,37 +0,0 @@ -From: asdasd@asdasd.ru -Date: Fri, 30 May 2014 17:27:51 +0400 -Content-Type: multipart/alternative; boundary="=_alternative 0049F87544257CE8_=" - -This is a multipart message in MIME format. ---=_alternative 0049F87544257CE8_= -Content-Type: text/plain; charset="UTF-8" -Content-Transfer-Encoding: base64 - -0YLQtdC60YHRgi4g0YLQtdC60YHRgiDRgSDRgtC10LrRgdGCINGC0LXQutGB0YIuINGC0LXQutGB -0YIg0LIgYXNkYXNkINGC0YMgDQrRgtC10LrRgdGCLCDRgtC10LrRgdGCINGC0LXQutGB0YIg0L3Q -sCDRgtC10LrRgdGCLiDRgtC10LrRgdGCINGC0LXQutGB0YIg0LIgDQphc2Rhc2QtYXNkYXNkLWFz -ZGFzZDoNCmFzZGFzZCBhc2Rhc2QgPSBhc2Rhc2QgYXNkYXNkIGFzZGFzZCBhc2Rhc2QuYXNkYXNk -KA0KIiAiLGFzZGFzZCkuYXNkYXNkDQphc2Rhc2QoYXNkYXNkLCA/YXNkYXNkIGFzZGFzZD8sID9h -c2Rhc2QgYXNkYXNkIGFzZGFzZD8pDQoNCg0K0YLQtdC60YHRgiDRgtC10LrRgdGCINGC0LXQutGB -0YIuINGC0LXQutGB0YIg0YLQtdC60YHRgiDRgtC10LrRgdGCINGC0LXQutGB0YIt0YLQviDRgtC1 -0LrRgdGCLCANCtGC0LXQutGB0YIg0YLQtdC60YHRgiDRgtC10LrRgdGCLiDRgtC10LrRgdGCLCDR -gtC10LrRgdGCLg0KDQoNCg0K0YLQtdC60YHRgiDRgtC10LrRgdGCOiANCtGC0LXQutGB0YIgYXNk -YXNkQGFzZGFzZC5ydSAo0YLQtdC60YHRgiDRgtC10LrRgdGCICkgINGC0LXQutGB0YIg0YLQtdC6 -0YHRgiDRgtC10LrRgdGCINGC0LXQutGB0YIgDQrRgtC10LrRgdGCIChhc2Rhc2QpLCDRgtC10LrR -gdGCINGC0LXQutGB0YIg0YLQtdC60YHRgiDRgtCw0LosINGC0LXQutGB0YIg0YLQtdC60YHRgiAo -0YLQtdC60YHRgiANCtGC0LXQutGB0YIsINGC0LXQutGB0YIg0YLQtdC60YHRgiDRgtC10LrRgdGC -INGC0LXQutGB0YIpINGC0LXQutGB0YINCtGC0LXQutGB0YIg0YLQtdC60YHRgiDRgtC10LrRgdGC -LCDRgtC10LrRgdGCINGC0LXQutGB0YLRgtC10LrRgdGCINGC0LXQutGB0YIsINGC0LXQutGB0YIg -DQrQvNGC0LXQutGB0YIsINGC0LXQutGB0YIg0YLQtdC60YHRgiDRgtC10LrRgdGCINGC0LXQutGB -0YIg0YLQtdC60YHRgiDRgtC10LrRgdGCIA0K0YLQtdC60YHRgi4NCg0K0YLQtdC60YHRgiDRgtC1 -0LrRgdGCINGC0LXQutGB0YIsINGC0LXQutGB0YIg0YLQtdC60YHRgiDRgtC10LrRgdGCINGC0LXQ -utGB0YI6IE9uIA0KMzAuMDUuMjAxNCAxNToxODo0MSwgYW5vdGhlciB1c2VyICjQkNCz0LXQvdGC -INGC0LXRhS7Qv9C+0LTQtNC10YDQttC60LgpIHdyb3RlOiAgICAtLS0g0YLQtdC60YHRgiANCtGC -0LXQutGB0YIg0YLQtdC60YHRgiDRgtC10LrRgdGCINC90LAg0YLQtdC60YHRgiDRgtC10LrRgdGC -Lg0KDQrRgtC10LrRgdGCINGC0LXQutGB0YIg0YLQtdC60YHRgi4= ---=_alternative 0049F87544257CE8_= -Content-Type: text/html; charset="KOI8-R" -Content-Transfer-Encoding: base64 - -asdasd ---=_alternative 0049F87544257CE8_=-- diff --git a/QuoteParser.Tests/Resources/testEmls/empty/93.txt b/QuoteParser.Tests/Resources/testEmls/empty/93.txt new file mode 100644 index 0000000..373ca7d --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/empty/93.txt @@ -0,0 +1,26 @@ +текст. текст с текст текст. текст в asdasd ту +текст, текст текст на текст. текст текст в +asdasd-asdasd-asdasd: +asdasd asdasd = asdasd asdasd asdasd asdasd.asdasd( +" ",asdasd).asdasd +asdasd(asdasd, ?asdasd asdasd?, ?asdasd asdasd asdasd?) + + +текст текст текст. текст текст текст текст-то текст, +текст текст текст. текст, текст. + + + +текст текст: +текст asdasd@asdasd.ru (текст текст ) текст текст текст текст +текст (asdasd), текст текст текст так, текст текст (текст +текст, текст текст текст текст) текст +текст текст текст, текст тексттекст текст, текст +мтекст, текст текст текст текст текст текст +текст. + +текст текст текст, текст текст текст текст: On +30.05.2014 15:18:41, another user (Агент тех.поддержки) wrote: --- текст +текст текст текст на текст текст. + +текст текст текст. \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/error/136.eml b/QuoteParser.Tests/Resources/testEmls/error/136.eml deleted file mode 100644 index 67d7e1e..0000000 --- a/QuoteParser.Tests/Resources/testEmls/error/136.eml +++ /dev/null @@ -1,44 +0,0 @@ -Date: Tue, 03 Jun 2014 14:22:22 +0300 -From: asdasd -References: <832> -In-Reply-To: <832> -Content-Type: multipart/alternative; - boundary="------------060300000502030503080206" - -This is a multi-part message in MIME format. ---------------060300000502030503080206 -Content-Type: text/plain; charset=UTF-8; format=flowed -Content-Transfer-Encoding: 8bit - -12.05.2014 12:51, asdasd asdasd пишет: -> Hello asdasd, -> -> Am I text, text text text (not text)? -> text, text text text text text: -> -> * text text -> * text text text text text text -> -> -> text text. - -Hi. - -My question has not been resolved? thank you. - --- -С уважением, текст текст -текст текст текст, текст "текст текст" - www.text.ua -тел. (044) 122-12-34 (многоканальный), (056) 123-45-67, (056) 123-45-67 -Skype: text-text -twitter: @text -E-mail: text@text.ua - ---------------060300000502030503080206 -Content-Type: text/html; charset=UTF-8 -Content-Transfer-Encoding: 8bit - - - - ---------------060300000502030503080206-- diff --git a/QuoteParser.Tests/Resources/testEmls/error/136.txt b/QuoteParser.Tests/Resources/testEmls/error/136.txt new file mode 100644 index 0000000..3751edf --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/error/136.txt @@ -0,0 +1,22 @@ +12.05.2014 12:51, asdasd asdasd пишет: +> Hello asdasd, +> +> Am I text, text text text (not text)? +> text, text text text text text: +> +> * text text +> * text text text text text text +> +> +> text text. + +Hi. + +My question has not been resolved? thank you. + +-- С уважением, текст текст +текст текст текст, текст "текст текст" - www.text.ua +тел. (044) 122-12-34 (многоканальный), (056) 123-45-67, (056) 123-45-67 +Skype: text-text +twitter: @text +E-mail: text@text.ua diff --git a/QuoteParser.Tests/Resources/testEmls/error/166.eml b/QuoteParser.Tests/Resources/testEmls/error/166.txt similarity index 61% rename from QuoteParser.Tests/Resources/testEmls/error/166.eml rename to QuoteParser.Tests/Resources/testEmls/error/166.txt index f4dcdd4..a6caf48 100644 --- a/QuoteParser.Tests/Resources/testEmls/error/166.eml +++ b/QuoteParser.Tests/Resources/testEmls/error/166.txt @@ -1,8 +1,3 @@ -Date: Thu, 5 Jun 2014 03:16:53 -0500 -From: asdasd asdasd -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 7bit - Hi, we text text text text. Time: 2014-06-05 12:20 GMT+4 (MSK) diff --git a/QuoteParser.Tests/Resources/testEmls/error/1729.eml b/QuoteParser.Tests/Resources/testEmls/error/1729.eml deleted file mode 100644 index 4911a02..0000000 --- a/QuoteParser.Tests/Resources/testEmls/error/1729.eml +++ /dev/null @@ -1,35 +0,0 @@ -From: text text -Date: Wed, 3 Sep 2014 11:22:20 +0000 -References: <00cd>, -In-Reply-To: -Content-Type: multipart/alternative; - boundary="_000_4qpju01chabanjcvh6h4ipyo1409743332994emailandroidcom_" - ---_000_4qpju01chabanjcvh6h4ipyo1409743332994emailandroidcom_ -Content-Type: text/plain; charset="Windows-1252" -Content-Transfer-Encoding: quoted-printable - -Thanks. This is helpful. - - - text - -Zhuk Pavel wrote: - - - -Hello text, -text texttext. -In reply to: - - -text text - - ---_000_4qpju01chabanjcvh6h4ipyo1409743332994emailandroidcom_ -Content-Type: text/html; charset="Windows-1252" -Content-Transfer-Encoding: quoted-printable - - - - ---_000_4qpju01chabanjcvh6h4ipyo1409743332994emailandroidcom_-- diff --git a/QuoteParser.Tests/Resources/testEmls/error/1729.txt b/QuoteParser.Tests/Resources/testEmls/error/1729.txt new file mode 100644 index 0000000..00b214c --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/error/1729.txt @@ -0,0 +1,15 @@ +Thanks. This is helpful. + + - text + +Zhuk Pavel wrote: + + + +Hello text, +text texttext. +In reply to: + + +text text + diff --git a/QuoteParser.Tests/Resources/testEmls/error/17382.eml b/QuoteParser.Tests/Resources/testEmls/error/17382.eml deleted file mode 100644 index c05539b..0000000 --- a/QuoteParser.Tests/Resources/testEmls/error/17382.eml +++ /dev/null @@ -1,28 +0,0 @@ -From: trext -References: <82b6> - -In-Reply-To: -Date: Wed, 21 Oct 2015 19:08:25 +0300 -Content-Type: multipart/alternative; boundary=001a11c29f12ad983305229f9635 - ---001a11c29f12ad983305229f9635 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: base64 - -0YLQtdC60YHRgiDRgtC10LrRgdGCINGC0LXQutGB0YIg0YLQtdC60YHRgiDRgtC10LrRgdGCINGC -0LXQutGB0YIg0YLQtdC60YHRgiDRgtC10LrRgdGCDQrRgtC10LrRgdGCLCDRgtC10LrRgdGCINGC -0LXQutGB0YIg0YLQtdC60YHRgi3RgtC10LrRgdGCINGC0LXQutGB0YI/DQoNCg0KDQoNCg0KDQoN -CiotLS0qDQoNCirQoSDRg9Cy0LDQttC10L3QuNC10LwsINGC0LXQutGB0YIg0YLQtdC60YHRgiEq -DQoNCg0KKtCc0L7QsS7RgtC10LsuOiArNyAoMTIzKSAxMjMtMTIzNCoqUyoqa3lwZTogZ2hqayoN -Cg0KDQoNCipGcm9tOiogdGV4dCB0ZXh0ICh0ZXh0IHRleHQpIFttYWlsdG86dGV4dC50ZXh0QHRl -eHQuY29tXQ0KDQoqU2VudDoqIFdlZG5lc2RheSwgT2N0b2JlciAyMSwgMjAxNSA2OjMyIFBNDQoq -VG86KiDRgtC10LrRgdGCINGC0LXQutGB0YINCipTdWJqZWN0OiogW2FzZHNhcyBhc2RdIFJlOiDR -gtC10LrRgdGCINGC0LXQutGB0YINCg0KDQoNCiMjLSBQbGVhc2UgdHlwZSB5b3VyIHJlcGx5IGFi -b3ZlIHRoaXMgbGluZSAtIyMNCg0KWW91ciByZXF1ZXN0ICgxMjMpIGhhcyBiZWVuIHVwZGF0ZWQu ---001a11c29f12ad983305229f9635 -Content-Type: text/html; charset=UTF-8 -Content-Transfer-Encoding: quoted-printable - - - ---001a11c29f12ad983305229f9635-- diff --git a/QuoteParser.Tests/Resources/testEmls/error/17382.txt b/QuoteParser.Tests/Resources/testEmls/error/17382.txt new file mode 100644 index 0000000..f1652ad --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/error/17382.txt @@ -0,0 +1,29 @@ +текст текст текст текст текст текст текст текст +текст, текст текст текст-текст текст? + + + + + + + +*---* + +*С уважением, текст текст!* + + +*Моб.тел.: +7 (123) 123-1234**S**kype: ghjk* + + + +*From:* text text (text text) [mailto:text.text@text.com] + +*Sent:* Wednesday, October 21, 2015 6:32 PM +*To:* текст текст +*Subject:* [asdsas asd] Re: текст текст + + + +##- Please type your reply above this line -## + +Your request (123) has been updated. \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/error/22912.eml b/QuoteParser.Tests/Resources/testEmls/error/22912.eml deleted file mode 100644 index c924dd4..0000000 --- a/QuoteParser.Tests/Resources/testEmls/error/22912.eml +++ /dev/null @@ -1,25 +0,0 @@ -From: text -Date: Tue, 05 Jul 2016 16:30:16 +0300 -In-Reply-To: -References: - <14677> - -Content-Type: multipart/alternative; - boundary="--ALT--z79Qwbl3YpaD8fRk7NfSdaEXTVcp22Hq1467725416" - -----ALT--z79Qwbl3YpaD8fRk7NfSdaEXTVcp22Hq1467725416 -Content-Type: text/plain; charset=utf-8 -Content-Transfer-Encoding: base64 - -dGV4dCANCg0KSU5GT8KgwqAgfCBqdm0gMcKgwqDCoCB8IDIwMTYvMDcvMDUgMTY6Mjc6MTcgfCB0 -ZXh0OiB0ZXh0IHRleHQuIA0KSU5GT8KgwqAgfCBqdm0gMcKgwqDCoCB8IDIwMTYvMDcvMDUgMTY6 -Mjc6MTcgfCB0ZXh0OsKgwqAgdGV4dCB0ZXh0IDEyMzQNCklORk/CoMKgIHwganZtIDHCoMKgwqAg -fCAyMDE2LzA3LzA1IDE2OjI3OjE3IHwgdGV4dDrCoMKgIHRleHQ6IA0KDQp0ZXh0 - -----ALT--z79Qwbl3YpaD8fRk7NfSdaEXTVcp22Hq1467725416 -Content-Type: text/html; charset=utf-8 -Content-Transfer-Encoding: base64 - -sdfsdfsdf - -----ALT--z79Qwbl3YpaD8fRk7NfSdaEXTVcp22Hq1467725416-- diff --git a/QuoteParser.Tests/Resources/testEmls/error/22912.txt b/QuoteParser.Tests/Resources/testEmls/error/22912.txt new file mode 100644 index 0000000..768d9ad --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/error/22912.txt @@ -0,0 +1,7 @@ +text + +INFO   | jvm 1    | 2016/07/05 16:27:17 | text: text text. +INFO   | jvm 1    | 2016/07/05 16:27:17 | text:   text text 1234 +INFO   | jvm 1    | 2016/07/05 16:27:17 | text:   text: + +text \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/error/3549.eml b/QuoteParser.Tests/Resources/testEmls/error/3549.eml deleted file mode 100644 index 69d7898..0000000 --- a/QuoteParser.Tests/Resources/testEmls/error/3549.eml +++ /dev/null @@ -1,36 +0,0 @@ -In-Reply-To: -References: <8DCE> - - - - - -Date: Wed, 12 Nov 2014 16:45:59 +0300 -From: asd asd -Content-Type: multipart/alternative; boundary=001a11332774b08acc0507a99dc5 - ---001a11332774b08acc0507a99dc5 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: quoted-printable - -Hi text, - -The text text text text, text text text text. -We text text to text text, text, text I've text to text -text of text and, text, text no text. text, text a text and -text us text text text/text: - - -Zhuk Pavel -19:27 (21 hours ago) -to asd, asd -Hi asd, - -text text text text. - ---001a11332774b08acc0507a99dc5 -Content-Type: text/html; charset=UTF-8 -Content-Transfer-Encoding: quoted-printable - -sdfsdfsdf ---001a11332774b08acc0507a99dc5-- diff --git a/QuoteParser.Tests/Resources/testEmls/error/3549.txt b/QuoteParser.Tests/Resources/testEmls/error/3549.txt new file mode 100644 index 0000000..8ffbebb --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/error/3549.txt @@ -0,0 +1,14 @@ +Hi text, + +The text text text text, text text text text. +We text text to text text, text, text I've text to text +text of text and, text, text no text. text, text a text and +text us text text text/text: + + +Zhuk Pavel +19:27 (21 hours ago) +to asd, asd +Hi asd, + +text text text text. diff --git a/QuoteParser.Tests/Resources/testEmls/error/3953.eml b/QuoteParser.Tests/Resources/testEmls/error/3953.txt similarity index 61% rename from QuoteParser.Tests/Resources/testEmls/error/3953.eml rename to QuoteParser.Tests/Resources/testEmls/error/3953.txt index 3668e62..7725103 100644 --- a/QuoteParser.Tests/Resources/testEmls/error/3953.eml +++ b/QuoteParser.Tests/Resources/testEmls/error/3953.txt @@ -1,8 +1,3 @@ -Date: Tue, 25 Nov 2014 15:32:35 +0300 -From: slon slon -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 7bit - slon slon slon slon at slon.slon.slon/slon is slon slon slon slon of 11/25/2014 07:31 EST: HTTP ERROR 500 diff --git a/QuoteParser.Tests/Resources/testEmls/error/8863.eml b/QuoteParser.Tests/Resources/testEmls/error/8863.eml deleted file mode 100644 index 6a88ab5..0000000 --- a/QuoteParser.Tests/Resources/testEmls/error/8863.eml +++ /dev/null @@ -1,97 +0,0 @@ -From: text text -Content-Type: multipart/alternative; boundary="_----------=_1429598055902501"; - charset="utf-8" -In-Reply-To: <6XT8SM> -References: <6XT8SMA> -Date: Tue, 21 Apr 2015 16:34:14 +1000 - -This is a multi-part message in MIME format. - ---_----------=_1429598055902501 -Content-Transfer-Encoding: 7bit -Content-Type: text/plain - -text - -etxt text, - -text - - - - -text - - -On Sat, 4 Apr 2015, at 12:07 AM, text text (text -text) wrote: -> ##- Please type your reply above this line -## -> text text (123) text text text. To text text text, text -> to text text. - - -> text text *text text* (text text) - - -> Apr 3, 17:07 - - -> text text! - - -> text. -> -text, text to text> text> text text> text -tab> text, set text text text text text text. - -> text text text text text. - - -> text text - - -> - - -> - - -> text *text* - - -> Mar 31, 02:16 - - -> text, - - -> Wtext -> text -> text - ---_----------=_1429598055902501 -Content-Transfer-Encoding: 7bit -Content-Type: multipart/related; boundary="_----------=_1429598055902500"; - charset="utf-8" - -This is a multi-part message in MIME format. - ---_----------=_1429598055902500 -Content-Transfer-Encoding: quoted-printable -Content-Type: text/html - - - - ---_----------=_1429598055902500 -Content-Disposition: attachment; filename="asd.png" -Content-Id: <14295> -Content-Transfer-Encoding: base64 -Content-Type: image/png; name="asd.png" - -asdasd ---_----------=_1429598055902500-- - - ---_----------=_1429598055902501-- - diff --git a/QuoteParser.Tests/Resources/testEmls/error/8863.txt b/QuoteParser.Tests/Resources/testEmls/error/8863.txt new file mode 100644 index 0000000..0ab6f43 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/error/8863.txt @@ -0,0 +1,57 @@ +text + +etxt text, + +text + + + + +text + + +On Sat, 4 Apr 2015, at 12:07 AM, text text (text +text) wrote: +> ##- Please type your reply above this line -## +> text text (123) text text text. To text text text, text +> to text text. + + +> text text *text text* (text text) + + +> Apr 3, 17:07 + + +> text text! + + +> text. +> +text, text to text> text> text text> text +tab> text, set text text text text text text. + +> text text text text text. + + +> text text + + +> + + +> + + +> text *text* + + +> Mar 31, 02:16 + + +> text, + + +> Wtext +> text +> text diff --git a/QuoteParser.Tests/Resources/testEmls/error/9757.eml b/QuoteParser.Tests/Resources/testEmls/error/9757.txt similarity index 60% rename from QuoteParser.Tests/Resources/testEmls/error/9757.eml rename to QuoteParser.Tests/Resources/testEmls/error/9757.txt index 4f46dec..78a14fd 100644 --- a/QuoteParser.Tests/Resources/testEmls/error/9757.eml +++ b/QuoteParser.Tests/Resources/testEmls/error/9757.txt @@ -1,10 +1,3 @@ -Date: Mon, 18 May 2015 10:10:53 -0600 -From: text text -Content-Type: multipart/alternative; boundary=089e0163415e36ae8b05165d705a - ---089e0163415e36ae8b05165d705a -Content-Type: text/plain; charset=UTF-8 - text On Fri, May 15, 2015 at 5:01 PM, text text < @@ -29,11 +22,3 @@ text text, text't text text text't text. > text text text text text-text text- text text> text text > text - ---089e0163415e36ae8b05165d705a -Content-Type: text/html; charset=UTF-8 -Content-Transfer-Encoding: quoted-printable - -sdfsdf - ---089e0163415e36ae8b05165d705a-- diff --git a/QuoteParser.Tests/Resources/testEmls/phrases/17407.eml b/QuoteParser.Tests/Resources/testEmls/phrases/17407.eml deleted file mode 100644 index 3c8f055..0000000 --- a/QuoteParser.Tests/Resources/testEmls/phrases/17407.eml +++ /dev/null @@ -1,24 +0,0 @@ -From: test test -Date: Wed, 21 Oct 2015 21:35:48 +0000 -References: -In-Reply-To: -Accept-Language: en-US -Content-Language: en-US -Content-Type: multipart/alternative; - boundary="_000_E2A2E3CBC73A9846BF40D8EF9729FE700177B81FEXCH2010velvacc_" - ---_000_E2A2E3CBC73A9846BF40D8EF9729FE700177B81FEXCH2010velvacc_ -Content-Type: text/plain; charset="utf-8" -Content-Transfer-Encoding: base64 - -dGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0IHRleHQgKHRleHRAdGV4dC10ZXh0LnRleHQ8bWFpbHRv -OnRleHRAdGV4dC10ZXh0LmNvbT4pLiAgdGV4dCB0ZXh0dGV4dCBvZiB0ZXh0Pw0KIyMtIFBsZWFz -ZSB0eXBlIHlvdXIgcmVwbHkgYWJvdmUgdGhpcyBsaW5lIC0jIw0KDQp0ZXh0 - ---_000_E2A2E3CBC73A9846BF40D8EF9729FE700177B81FEXCH2010velvacc_ -Content-Type: text/html; charset="utf-8" -Content-Transfer-Encoding: base64 - -aaasdasdasdasdasdas - ---_000_E2A2E3CBC73A9846BF40D8EF9729FE700177B81FEXCH2010velvacc_-- diff --git a/QuoteParser.Tests/Resources/testEmls/phrases/17407.txt b/QuoteParser.Tests/Resources/testEmls/phrases/17407.txt new file mode 100644 index 0000000..a918003 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/phrases/17407.txt @@ -0,0 +1,4 @@ +text text text text text text (text@text-text.text). text texttext of text? +##- Please type your reply above this line -## + +text \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/phrases/2555.eml b/QuoteParser.Tests/Resources/testEmls/phrases/2555.eml deleted file mode 100644 index ca1925e..0000000 --- a/QuoteParser.Tests/Resources/testEmls/phrases/2555.eml +++ /dev/null @@ -1,31 +0,0 @@ -From: asdasd asdasd -Date: Fri, 10 Oct 2014 12:55:37 +0000 -References: <885>, -In-Reply-To: -Content-Type: multipart/alternative; - boundary="_000_kt7ab7sgkt673mkn9i4o6um51412945729070emailandroidcom_" -Accept-Language: en-US -Content-Language: en-US - ---_000_kt7ab7sgkt673mkn9i4o6um51412945729070emailandroidcom_ -Content-Type: text/plain; charset="us-ascii" -Content-Transfer-Encoding: quoted-printable - -text - --------- Original message -------- -From: text text -Date:10/10/2014 5:42 AM (GMT-08:00) -To: text text -Subject: Re: text-text text - -text text. - ---_000_kt7ab7sgkt673mkn9i4o6um51412945729070emailandroidcom_ -Content-Type: text/html; charset="us-ascii" -Content-Transfer-Encoding: quoted-printable - - - - ---_000_kt7ab7sgkt673mkn9i4o6um51412945729070emailandroidcom_-- diff --git a/QuoteParser.Tests/Resources/testEmls/phrases/2555.txt b/QuoteParser.Tests/Resources/testEmls/phrases/2555.txt new file mode 100644 index 0000000..8ab1f32 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/phrases/2555.txt @@ -0,0 +1,9 @@ +text + +-------- Original message -------- +From: text text +Date:10/10/2014 5:42 AM (GMT-08:00) +To: text text +Subject: Re: text-text text + +text text. diff --git a/QuoteParser.Tests/Resources/testEmls/phrases/92.eml b/QuoteParser.Tests/Resources/testEmls/phrases/92.eml deleted file mode 100644 index 68953fb..0000000 --- a/QuoteParser.Tests/Resources/testEmls/phrases/92.eml +++ /dev/null @@ -1,19 +0,0 @@ -Date: Fri, 30 May 2014 15:04:59 +0200 -From: asdas -References: -In-Reply-To: -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -dfgdfg, - -text text text: - -text-text-text-2014-05-30-14-52.text.gz (text youtrack text text -text text) - -text text wrote the following : - -In reply to: - -sdfsdfsdf \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/phrases/92.txt b/QuoteParser.Tests/Resources/testEmls/phrases/92.txt new file mode 100644 index 0000000..5d7d6ff --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/phrases/92.txt @@ -0,0 +1,12 @@ +dfgdfg, + +text text text: + +text-text-text-2014-05-30-14-52.text.gz (text youtrack text text +text text) + +text text wrote the following : + +In reply to: + +sdfsdfsdf \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/recursive/270.eml b/QuoteParser.Tests/Resources/testEmls/recursive/270.eml deleted file mode 100644 index fb46a63..0000000 --- a/QuoteParser.Tests/Resources/testEmls/recursive/270.eml +++ /dev/null @@ -1,38 +0,0 @@ -In-Reply-To: -References: - -From: asd asd -Date: Tue, 10 Jun 2014 12:37:22 -0700 -Content-Type: multipart/alternative; boundary=20cf300e4d3d2fc7b404fb807640 - ---20cf300e4d3d2fc7b404fb807640 -Content-Type: text/plain; charset=UTF-8 - -text - - - -On Tue, Jun 3, 2014 at 11:17 AM, asd asd < -asd-asd@asd.com> wrote: - -> text, -> -> -> In reply to: -> -> Hello.. text text: -> -> -> - URL: asd.asd.com -> - - ---20cf300e4d3d2fc7b404fb807640 -Content-Type: text/html; charset=UTF-8 -Content-Transfer-Encoding: quoted-printable - -adsasdasd - -
- ---20cf300e4d3d2fc7b404fb807640-- diff --git a/QuoteParser.Tests/Resources/testEmls/recursive/270.txt b/QuoteParser.Tests/Resources/testEmls/recursive/270.txt new file mode 100644 index 0000000..91fbcc9 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/recursive/270.txt @@ -0,0 +1,18 @@ +text + + + +On Tue, Jun 3, 2014 at 11:17 AM, asd asd < +asd-asd@asd.com> wrote: + +> text, +> +> +> In reply to: +> +> Hello.. text text: +> +> +> - URL: asd.asd.com +> + diff --git a/QuoteParser.Tests/Resources/testEmls/recursive/6510.eml b/QuoteParser.Tests/Resources/testEmls/recursive/6510.txt similarity index 58% rename from QuoteParser.Tests/Resources/testEmls/recursive/6510.eml rename to QuoteParser.Tests/Resources/testEmls/recursive/6510.txt index 00a04f2..1605e39 100644 --- a/QuoteParser.Tests/Resources/testEmls/recursive/6510.eml +++ b/QuoteParser.Tests/Resources/testEmls/recursive/6510.txt @@ -1,10 +1,3 @@ -Date: Fri, 13 Feb 2015 18:45:53 +0300 -From: asd asd -In-Reply-To: -References: -Content-Type: text/plain; charset=us-ascii -Content-Transfer-Encoding: 7bit - text -----Original Message----- diff --git a/QuoteParser/QuoteParser.cs b/QuoteParser/QuoteParser.cs index 8cedb78..0316da8 100644 --- a/QuoteParser/QuoteParser.cs +++ b/QuoteParser/QuoteParser.cs @@ -136,6 +136,11 @@ private QuoteParser(Builder builder) ); } + public Content Parse(string text, bool hasInReplyToEmlHeader = true) + { + return Parse(text.Split(new[] { "\n", "\r\n" }, StringSplitOptions.None), hasInReplyToEmlHeader); + } + public Content Parse(IEnumerable lines, bool hasInReplyToEmlHeader = true) { _lines = lines.ToList(); diff --git a/QuoteParser/QuoteParser.csproj b/QuoteParser/QuoteParser.csproj index 78d58d9..e76f963 100644 --- a/QuoteParser/QuoteParser.csproj +++ b/QuoteParser/QuoteParser.csproj @@ -15,6 +15,7 @@ Created by feature[23]. QuoteParserLite fork created to drop dependencies.QuoteParserLite reallyread.it, inc. QuoteParserLite + 1.1.0
From a08e32711d0d051853da9b5623554a1e6c4f3199 Mon Sep 17 00:00:00 2001 From: Jeff Date: Sat, 26 Oct 2019 09:56:14 -0400 Subject: [PATCH 3/6] updated packing info and readme for pull request to original author --- QuoteParser/QuoteParser.csproj | 15 +++++---------- README.md | 3 +++ 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/QuoteParser/QuoteParser.csproj b/QuoteParser/QuoteParser.csproj index e76f963..afdb3ba 100644 --- a/QuoteParser/QuoteParser.csproj +++ b/QuoteParser/QuoteParser.csproj @@ -2,20 +2,15 @@ netstandard2.0 - Jeff Camera + feature[23] true - A .NET Standard port of JetBrains' email-parser library, for parsing quoted text from email messages. - -Created by feature[23]. QuoteParserLite fork created to drop dependencies. + A .NET Standard port of JetBrains' email-parser library, for parsing quoted text from email messages. Apache-2.0 - https://github.com/reallyreadit/QuoteParser.NET - + https://github.com/feature23/QuoteParser.NET + https://raw.githubusercontent.com/feature23/QuoteParser.NET/master/logo.png quoteparser email-parser email parse parsing quote reply - QuoteParserLite - reallyread.it, inc. - QuoteParserLite - 1.1.0 + 2.0.0
diff --git a/README.md b/README.md index 30b3771..436e3d1 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # QuoteParser.NET [![Build Status](https://travis-ci.org/feature23/QuoteParser.NET.svg?branch=master)](https://travis-ci.org/feature23/QuoteParser.NET) A .NET Standard port of JetBrains' [email-parser](https://github.com/JetBrains/email-parser) library. + +## Version 2.0.0 Breaking Changes +Removed MimeKitLite dependency in order to avoid duplicate type/namespace conflits for projects that already included (directly or indirectly) different versions of MimeKitLite, MimeKit or MailKit. The QuoteParser class processes the plain text body content of an email message. A MIME parser (such as MimeKit) is required to process raw email messages and extract the plain text body content for quote parsing. \ No newline at end of file From 20a22e58a647c34527464e3135f84eda52863550 Mon Sep 17 00:00:00 2001 From: Jeff Date: Tue, 29 Oct 2019 20:39:41 -0400 Subject: [PATCH 4/6] restored original test emails --- QuoteParser.Tests/QuoteParser.Tests.csproj | 302 +++++++++--------- .../Resources/testEmls/AB/149.eml | 47 +++ .../Resources/testEmls/AB/149.txt | 26 -- .../Resources/testEmls/AB/4237.eml | 47 +++ .../Resources/testEmls/AB/4237.txt | 25 -- .../testEmls/AB/{5370.txt => 5370.eml} | 6 + .../Resources/testEmls/ML/158.eml | 32 ++ .../Resources/testEmls/ML/158.txt | 9 - .../Resources/testEmls/ML/17326.eml | 82 +++++ .../Resources/testEmls/ML/17326.txt | 21 -- .../Resources/testEmls/ML/17747.eml | 29 ++ .../Resources/testEmls/ML/17747.txt | 30 -- .../Resources/testEmls/ML/18139.eml | 49 +++ .../Resources/testEmls/ML/18139.txt | 91 ------ .../Resources/testEmls/ML/196.eml | 39 +++ .../Resources/testEmls/ML/196.txt | 13 - .../Resources/testEmls/ML/210.eml | 60 ++++ .../Resources/testEmls/ML/210.txt | 36 --- .../Resources/testEmls/ML/260.eml | 33 ++ .../Resources/testEmls/ML/260.txt | 22 -- .../Resources/testEmls/ML/279.eml | 35 ++ .../Resources/testEmls/ML/279.txt | 37 --- .../Resources/testEmls/ML/31.eml | 60 ++++ .../Resources/testEmls/ML/31.txt | 33 -- .../Resources/testEmls/ML/322.eml | 34 ++ .../Resources/testEmls/ML/322.txt | 17 - .../testEmls/ML/{348.txt => 348.eml} | 17 + .../Resources/testEmls/ML/3697.eml | 53 +++ .../Resources/testEmls/ML/3697.txt | 31 -- .../Resources/testEmls/ML/3715.eml | 58 ++++ .../Resources/testEmls/ML/3715.txt | 39 --- .../Resources/testEmls/ML/38.eml | 58 ++++ .../Resources/testEmls/ML/38.txt | 31 -- .../Resources/testEmls/ML/3926.eml | 35 ++ .../Resources/testEmls/ML/3926.txt | 10 - .../Resources/testEmls/ML/4298.eml | 27 ++ .../Resources/testEmls/ML/4298.txt | 14 - .../Resources/testEmls/ML/43.eml | 45 +++ .../Resources/testEmls/ML/43.txt | 49 --- .../Resources/testEmls/ML/5859.eml | 44 +++ .../Resources/testEmls/ML/5859.txt | 8 - .../Resources/testEmls/ML/82.eml | 29 ++ .../Resources/testEmls/ML/82.txt | 24 -- .../Resources/testEmls/ML/85.eml | 75 +++++ .../Resources/testEmls/ML/85.txt | 49 --- .../Resources/testEmls/SL/10.eml | 47 +++ .../Resources/testEmls/SL/10.txt | 25 -- .../Resources/testEmls/SL/1066.eml | 52 +++ .../Resources/testEmls/SL/1066.txt | 20 -- .../Resources/testEmls/SL/1077.eml | 66 ++++ .../Resources/testEmls/SL/1077.txt | 41 --- .../Resources/testEmls/SL/108.eml | 46 +++ .../Resources/testEmls/SL/108.txt | 23 -- .../Resources/testEmls/SL/11461.eml | 69 ++++ .../Resources/testEmls/SL/11461.txt | 32 -- .../Resources/testEmls/SL/17444.eml | 29 ++ .../Resources/testEmls/SL/17444.txt | 21 -- .../Resources/testEmls/SL/17949.eml | 71 ++++ .../Resources/testEmls/SL/17949.txt | 42 --- .../Resources/testEmls/SL/17995.eml | 38 +++ .../Resources/testEmls/SL/17995.txt | 12 - .../testEmls/SL/{18075.txt => 18075.eml} | 17 + .../Resources/testEmls/SL/187.eml | 52 +++ .../Resources/testEmls/SL/187.txt | 28 -- .../Resources/testEmls/SL/18762.eml | 43 +++ .../Resources/testEmls/SL/18762.txt | 15 - .../Resources/testEmls/SL/20.eml | 37 +++ .../Resources/testEmls/SL/20.txt | 20 -- .../Resources/testEmls/SL/21086.eml | 52 +++ .../Resources/testEmls/SL/21086.txt | 15 - .../testEmls/SL/{214.txt => 214.eml} | 18 ++ .../Resources/testEmls/SL/21593.eml | 36 +++ .../Resources/testEmls/SL/21593.txt | 11 - .../Resources/testEmls/SL/245.eml | 90 ++++++ .../Resources/testEmls/SL/245.txt | 49 --- .../Resources/testEmls/SL/259.eml | 85 +++++ .../Resources/testEmls/SL/259.txt | 41 --- .../Resources/testEmls/SL/{26.txt => 26.eml} | 17 + .../testEmls/SL/{3711.txt => 3711.eml} | 18 ++ .../Resources/testEmls/SL/374.eml | 60 ++++ .../Resources/testEmls/SL/374.txt | 40 --- .../Resources/testEmls/SL/3997.eml | 55 ++++ .../Resources/testEmls/SL/3997.txt | 32 -- .../Resources/testEmls/SL/4008.eml | 83 +++++ .../Resources/testEmls/SL/4008.txt | 43 --- .../Resources/testEmls/SL/4169.eml | 106 ++++++ .../Resources/testEmls/SL/4169.txt | 70 ---- .../Resources/testEmls/SL/427.eml | 54 ++++ .../Resources/testEmls/SL/427.txt | 23 -- .../Resources/testEmls/SL/484.eml | 33 ++ .../Resources/testEmls/SL/484.txt | 15 - .../testEmls/SL/{599.txt => 599.eml} | 20 ++ .../Resources/testEmls/SL/704.eml | 42 +++ .../Resources/testEmls/SL/704.txt | 16 - .../Resources/testEmls/SL/75.eml | 46 +++ .../Resources/testEmls/SL/75.txt | 23 -- .../testEmls/SL/{800.txt => 800.eml} | 27 +- .../testEmls/SL/{880.txt => 880.eml} | 19 ++ .../Resources/testEmls/SL/967.eml | 54 ++++ .../Resources/testEmls/SL/967.txt | 27 -- .../testEmls/empty/{102.txt => 102.eml} | 5 + .../testEmls/empty/{1165.txt => 1165.eml} | 5 + .../Resources/testEmls/empty/146.eml | 26 ++ .../Resources/testEmls/empty/146.txt | 7 - .../Resources/testEmls/empty/20454.eml | 12 + .../Resources/testEmls/empty/20454.txt | 7 - .../testEmls/empty/{205.txt => 205.eml} | 5 + .../testEmls/empty/{3505.txt => 3505.eml} | 5 + .../Resources/testEmls/empty/93.eml | 37 +++ .../Resources/testEmls/empty/93.txt | 26 -- .../Resources/testEmls/error/136.eml | 44 +++ .../Resources/testEmls/error/136.txt | 22 -- .../testEmls/error/{166.txt => 166.eml} | 5 + .../Resources/testEmls/error/1729.eml | 35 ++ .../Resources/testEmls/error/1729.txt | 15 - .../Resources/testEmls/error/17382.eml | 28 ++ .../Resources/testEmls/error/17382.txt | 29 -- .../Resources/testEmls/error/22912.eml | 25 ++ .../Resources/testEmls/error/22912.txt | 7 - .../Resources/testEmls/error/3549.eml | 36 +++ .../Resources/testEmls/error/3549.txt | 14 - .../testEmls/error/{3953.txt => 3953.eml} | 5 + .../Resources/testEmls/error/8863.eml | 97 ++++++ .../Resources/testEmls/error/8863.txt | 57 ---- .../testEmls/error/{9757.txt => 9757.eml} | 15 + .../Resources/testEmls/phrases/17407.eml | 24 ++ .../Resources/testEmls/phrases/17407.txt | 4 - .../Resources/testEmls/phrases/2555.eml | 31 ++ .../Resources/testEmls/phrases/2555.txt | 9 - .../Resources/testEmls/phrases/92.eml | 19 ++ .../Resources/testEmls/phrases/92.txt | 12 - .../Resources/testEmls/recursive/270.eml | 38 +++ .../Resources/testEmls/recursive/270.txt | 18 -- .../testEmls/recursive/{6510.txt => 6510.eml} | 7 + 134 files changed, 3128 insertions(+), 1680 deletions(-) create mode 100644 QuoteParser.Tests/Resources/testEmls/AB/149.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/AB/149.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/AB/4237.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/AB/4237.txt rename QuoteParser.Tests/Resources/testEmls/AB/{5370.txt => 5370.eml} (57%) create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/158.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/158.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/17326.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/17326.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/17747.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/17747.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/18139.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/18139.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/196.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/196.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/210.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/210.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/260.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/260.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/279.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/279.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/31.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/31.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/322.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/322.txt rename QuoteParser.Tests/Resources/testEmls/ML/{348.txt => 348.eml} (60%) create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/3697.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/3697.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/3715.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/3715.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/38.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/38.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/3926.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/3926.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/4298.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/4298.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/43.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/43.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/5859.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/5859.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/82.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/82.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/ML/85.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/ML/85.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/10.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/10.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/1066.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/1066.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/1077.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/1077.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/108.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/108.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/11461.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/11461.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/17444.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/17444.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/17949.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/17949.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/17995.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/17995.txt rename QuoteParser.Tests/Resources/testEmls/SL/{18075.txt => 18075.eml} (62%) create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/187.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/187.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/18762.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/18762.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/20.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/20.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/21086.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/21086.txt rename QuoteParser.Tests/Resources/testEmls/SL/{214.txt => 214.eml} (53%) create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/21593.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/21593.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/245.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/245.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/259.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/259.txt rename QuoteParser.Tests/Resources/testEmls/SL/{26.txt => 26.eml} (67%) rename QuoteParser.Tests/Resources/testEmls/SL/{3711.txt => 3711.eml} (53%) create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/374.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/374.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/3997.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/3997.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/4008.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/4008.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/4169.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/4169.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/427.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/427.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/484.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/484.txt rename QuoteParser.Tests/Resources/testEmls/SL/{599.txt => 599.eml} (60%) create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/704.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/704.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/75.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/75.txt rename QuoteParser.Tests/Resources/testEmls/SL/{800.txt => 800.eml} (53%) rename QuoteParser.Tests/Resources/testEmls/SL/{880.txt => 880.eml} (66%) create mode 100644 QuoteParser.Tests/Resources/testEmls/SL/967.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/SL/967.txt rename QuoteParser.Tests/Resources/testEmls/empty/{102.txt => 102.eml} (67%) rename QuoteParser.Tests/Resources/testEmls/empty/{1165.txt => 1165.eml} (95%) create mode 100644 QuoteParser.Tests/Resources/testEmls/empty/146.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/empty/146.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/empty/20454.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/empty/20454.txt rename QuoteParser.Tests/Resources/testEmls/empty/{205.txt => 205.eml} (64%) rename QuoteParser.Tests/Resources/testEmls/empty/{3505.txt => 3505.eml} (50%) create mode 100644 QuoteParser.Tests/Resources/testEmls/empty/93.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/empty/93.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/error/136.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/error/136.txt rename QuoteParser.Tests/Resources/testEmls/error/{166.txt => 166.eml} (61%) create mode 100644 QuoteParser.Tests/Resources/testEmls/error/1729.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/error/1729.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/error/17382.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/error/17382.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/error/22912.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/error/22912.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/error/3549.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/error/3549.txt rename QuoteParser.Tests/Resources/testEmls/error/{3953.txt => 3953.eml} (61%) create mode 100644 QuoteParser.Tests/Resources/testEmls/error/8863.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/error/8863.txt rename QuoteParser.Tests/Resources/testEmls/error/{9757.txt => 9757.eml} (60%) create mode 100644 QuoteParser.Tests/Resources/testEmls/phrases/17407.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/phrases/17407.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/phrases/2555.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/phrases/2555.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/phrases/92.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/phrases/92.txt create mode 100644 QuoteParser.Tests/Resources/testEmls/recursive/270.eml delete mode 100644 QuoteParser.Tests/Resources/testEmls/recursive/270.txt rename QuoteParser.Tests/Resources/testEmls/recursive/{6510.txt => 6510.eml} (58%) diff --git a/QuoteParser.Tests/QuoteParser.Tests.csproj b/QuoteParser.Tests/QuoteParser.Tests.csproj index 99fcced..533dd83 100644 --- a/QuoteParser.Tests/QuoteParser.Tests.csproj +++ b/QuoteParser.Tests/QuoteParser.Tests.csproj @@ -1,4 +1,4 @@ - + netcoreapp2.2 @@ -7,159 +7,159 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/QuoteParser.Tests/Resources/testEmls/AB/149.eml b/QuoteParser.Tests/Resources/testEmls/AB/149.eml new file mode 100644 index 0000000..6070541 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/AB/149.eml @@ -0,0 +1,47 @@ +Date: Wed, 04 Jun 2014 12:21:55 +0200 +From: asd asd +References: +In-Reply-To: +Content-Type: multipart/alternative; + boundary="------------070508010607010206050808" + +This is a multi-part message in MIME format. +--------------070508010607010206050808 +Content-Type: text/plain; charset=UTF-8; format=flowed +Content-Transfer-Encoding: 7bit + +Hi asdd, + +asd asd asda sdasdas asda. + +Zhuk Pavel wrote: +> Hello asd, +> +> asdasda asd asd asd! +> +> I'asde asd asd asd asd. +> +> asd asd asd asd. +>> In reply to: +>> +>> *_Email _*: asd asd +>> +>> *_Product_*: asd +>> +>> *_Phone_*: asd asd +>> +>> *_Question_*: asd, +>> +>> I'm asd asd asd asd I've asd asd asd asd asd asd a +>> asd asd asd asdasd asd. +>> +> asdasdasd +> asd asd asd asd-1234. asdasd asd, asdasd + +--------------070508010607010206050808 +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: 8bit + + + +--------------070508010607010206050808-- diff --git a/QuoteParser.Tests/Resources/testEmls/AB/149.txt b/QuoteParser.Tests/Resources/testEmls/AB/149.txt deleted file mode 100644 index b12763a..0000000 --- a/QuoteParser.Tests/Resources/testEmls/AB/149.txt +++ /dev/null @@ -1,26 +0,0 @@ -Hi asdd, - -asd asd asda sdasdas asda. - -Zhuk Pavel wrote: -> Hello asd, -> -> asdasda asd asd asd! -> -> I'asde asd asd asd asd. -> -> asd asd asd asd. ->> In reply to: ->> ->> *_Email _*: asd asd ->> ->> *_Product_*: asd ->> ->> *_Phone_*: asd asd ->> ->> *_Question_*: asd, ->> ->> I'm asd asd asd asd I've asd asd asd asd asd asd a asd asd asd asdasd asd. ->> -> asdasdasd -> asd asd asd asd-1234. asdasd asd, asdasd diff --git a/QuoteParser.Tests/Resources/testEmls/AB/4237.eml b/QuoteParser.Tests/Resources/testEmls/AB/4237.eml new file mode 100644 index 0000000..30415b3 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/AB/4237.eml @@ -0,0 +1,47 @@ +Date: Tue, 02 Dec 2014 08:15:43 +0100 +From: asdasd asdads +References: +In-Reply-To: +Content-Type: multipart/alternative; + boundary="------------040307070207050201070803" + +This is a multi-part message in MIME format. +--------------040307070207050201070803 +Content-Type: text/plain; charset=utf-8; format=flowed +Content-Transfer-Encoding: 8bit + + +Am 01.12.2014 um 19:16 schrieb Zhuk Pavel: +> Hi ads, + +Hi asdd! +> +> text text. +> text text text? text text text, text text +> text text, text text text. The issue has been already + +It sdfsdf in sdfsdf! + +sdf sdfsdf + + df + +> sdf, sdf sdf sdfsdf be sdfsdf dfsfd> Thank you. +>> In reply to: +>> +>> s dfsdf +>> +> +> sdfsdf + +sdfsdfsdf + + +--------------040307070207050201070803 +Content-Type: text/html; charset=utf-8 +Content-Transfer-Encoding: 8bit + + + + +--------------040307070207050201070803-- diff --git a/QuoteParser.Tests/Resources/testEmls/AB/4237.txt b/QuoteParser.Tests/Resources/testEmls/AB/4237.txt deleted file mode 100644 index 7e9adae..0000000 --- a/QuoteParser.Tests/Resources/testEmls/AB/4237.txt +++ /dev/null @@ -1,25 +0,0 @@ - -Am 01.12.2014 um 19:16 schrieb Zhuk Pavel: -> Hi ads, - -Hi asdd! -> -> text text. -> text text text? text text text, text text text text, text text text. The issue has been already - -It sdfsdf in sdfsdf! - -sdf sdfsdf - - df - -> sdf, sdf sdf sdfsdf be sdfsdf dfsfd> Thank you. ->> In reply to: ->> ->> s dfsdf ->> -> -> sdfsdf - -sdfsdfsdf - diff --git a/QuoteParser.Tests/Resources/testEmls/AB/5370.txt b/QuoteParser.Tests/Resources/testEmls/AB/5370.eml similarity index 57% rename from QuoteParser.Tests/Resources/testEmls/AB/5370.txt rename to QuoteParser.Tests/Resources/testEmls/AB/5370.eml index 5d95564..bff1ab2 100644 --- a/QuoteParser.Tests/Resources/testEmls/AB/5370.txt +++ b/QuoteParser.Tests/Resources/testEmls/AB/5370.eml @@ -1,3 +1,9 @@ +References: +From: aasd S. asdasd +In-reply-to: +Date: Thu, 15 Jan 2015 21:20:42 +0200 +Content-Type: text/plain + Zhuk Pavel @ 2015-01-15 17:54 SAST: > Hi asd, diff --git a/QuoteParser.Tests/Resources/testEmls/ML/158.eml b/QuoteParser.Tests/Resources/testEmls/ML/158.eml new file mode 100644 index 0000000..118664d --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/158.eml @@ -0,0 +1,32 @@ +From: text twert +Date: Wed, 4 Jun 2014 16:21:36 +0000 +References: <09CC> + <00ff> +In-Reply-To: <00ff> +Accept-Language: en-US +Content-Language: en-US +Content-Type: multipart/alternative; + boundary="_000_09CC9924CC678D499C915F71E0C45D60DE004407mbx021e2nj2exch_" + +--_000_09CC9924CC678D499C915F71E0C45D60DE004407mbx021e2nj2exch_ +Content-Type: text/plain; charset="us-ascii" +Content-Transfer-Encoding: quoted-printable + +Thanks text. text text text text text our text qa text is = +text text text text. + +From: text text text [mailto:text.text@text.com] +Sent: Wednesday, June 04, 2014 12:20 PM +To: 'text text' +Cc: text text; text text +Subject: FW: text text in text- can't text text text + +Hello text, + +--_000_09CC9924CC678D499C915F71E0C45D60DE004407mbx021e2nj2exch_ +Content-Type: text/html; charset="us-ascii" +Content-Transfer-Encoding: quoted-printable + +sdfsdfsdf + +--_000_09CC9924CC678D499C915F71E0C45D60DE004407mbx021e2nj2exch_-- diff --git a/QuoteParser.Tests/Resources/testEmls/ML/158.txt b/QuoteParser.Tests/Resources/testEmls/ML/158.txt deleted file mode 100644 index db3fc58..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/158.txt +++ /dev/null @@ -1,9 +0,0 @@ -Thanks text. text text text text text our text qa text is text text text text. - -From: text text text [mailto:text.text@text.com] -Sent: Wednesday, June 04, 2014 12:20 PM -To: 'text text' -Cc: text text; text text -Subject: FW: text text in text- can't text text text - -Hello text, diff --git a/QuoteParser.Tests/Resources/testEmls/ML/17326.eml b/QuoteParser.Tests/Resources/testEmls/ML/17326.eml new file mode 100644 index 0000000..bc2ba5a --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/17326.eml @@ -0,0 +1,82 @@ +From: text tex +Content-Type: multipart/alternative; boundary="Apple-Mail=_B81A7F49-F112-473B-B59E-40C05ED0A144" +Date: Tue, 20 Oct 2015 16:18:00 +0100 +References: <1183> + +--Apple-Mail=_B81A7F49-F112-473B-B59E-40C05ED0A144 +Content-Transfer-Encoding: quoted-printable +Content-Type: text/plain; + charset=us-ascii + +Hi text + +text text text text text text, text my = +text text text text. text text text text text text text = +text text text text, text text text text. text text = +text text text text text text text text? + +http://text.text.com/text/text = + + +text text +text text + + + +> Begin forwarded message: +>=20 +> From: text text +> Subject: text R123456. text text text text +> Date: 19 October 2015 16:38:23 BST +> To: text@text.text.uk +>=20 +> text text, +> text text text text text. text text text text, = +R123456 text. +>=20 + +--Apple-Mail=_B81A7F49-F112-473B-B59E-40C05ED0A144 +Content-Type: multipart/mixed; + boundary="Apple-Mail=_7429B6E2-6703-4A56-AEB4-C893F1116618" + + +--Apple-Mail=_7429B6E2-6703-4A56-AEB4-C893F1116618 +Content-Transfer-Encoding: 7bit +Content-Type: text/html; + charset=us-ascii + +aasdasd +--Apple-Mail=_7429B6E2-6703-4A56-AEB4-C893F1116618 +Content-Disposition: inline; + filename=image.png +Content-Type: image/png; + x-mac-hide-extension=yes; + x-unix-mode=0644; + name="image.png" +Content-Transfer-Encoding: base64 + +asdasd +--Apple-Mail=_7429B6E2-6703-4A56-AEB4-C893F1116618 +Content-Transfer-Encoding: quoted-printable +Content-Type: text/html; + charset=us-ascii + += + +--Apple-Mail=_7429B6E2-6703-4A56-AEB4-C893F1116618 +Content-Disposition: inline; + filename=asd-asd.pdf +Content-Type: application/pdf; + name="asd-asd.pdf" +Content-Transfer-Encoding: base64 + +asdasd +--Apple-Mail=_7429B6E2-6703-4A56-AEB4-C893F1116618 +Content-Transfer-Encoding: 7bit +Content-Type: text/html; + charset=us-ascii + +asdasd +--Apple-Mail=_7429B6E2-6703-4A56-AEB4-C893F1116618-- + +--Apple-Mail=_B81A7F49-F112-473B-B59E-40C05ED0A144-- diff --git a/QuoteParser.Tests/Resources/testEmls/ML/17326.txt b/QuoteParser.Tests/Resources/testEmls/ML/17326.txt deleted file mode 100644 index 8c9af14..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/17326.txt +++ /dev/null @@ -1,21 +0,0 @@ -Hi text - -text text text text text text, text my text text text text. text text text text text text text text text text text, text text text text. text text text text text text text text text text? - -http://text.text.com/text/text - -text text -text text - - - -> Begin forwarded message: -> -> From: text text -> Subject: text R123456. text text text text -> Date: 19 October 2015 16:38:23 BST -> To: text@text.text.uk -> -> text text, -> text text text text text. text text text text, R123456 text. -> diff --git a/QuoteParser.Tests/Resources/testEmls/ML/17747.eml b/QuoteParser.Tests/Resources/testEmls/ML/17747.eml new file mode 100644 index 0000000..f4c0059 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/17747.eml @@ -0,0 +1,29 @@ +From: text +References: <1R> <46> + <28> <1RR> +In-Reply-To: <1RR> +Date: Fri, 30 Oct 2015 16:22:58 +0300 +Content-Type: multipart/alternative; boundary=001a113d5d48995a6b052352536a + +--001a113d5d48995a6b052352536a +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: base64 + +MS4gICAgICAg0YLQtdC60YHRgiDQsiDRgtC10LrRgdGCINGC0LXQutGB0YINCg0KMi4gICAgICAg +0YLQtdC60YHRgiDRgtC10LrRgdGCINGC0LXQutGB0YIg0YLQtdC60YHRgi3RgtC10LrRgdGCINGC +0LXQutGB0YIg0YLQtdC60YHRgiDRgtC10LrRgdGCINGC0LXQutGB0YINCtCyINGC0LXQutGB0YIh +DQoNCg0KDQoNCg0KKi0tLSoNCg0KKtChINGC0LXQutGB0YIsINGC0LXQutGB0YIg0YLQtdC60YHR +giEqDQoNCg0KKtCc0L7QsS7RgtC10LsuOiArNyAoMTIzKSAxMjMtMTIzNCoqUyoqa3lwZTogdGV4 +dCoNCg0KDQoNCipGcm9tOiogdGV4dCB0ZXh0ICh0ZXh0IHRleHQpIFttYWlsdG86DQp0ZXh0LnRl +eHRAdGV4dC5jb21dDQoqU2VudDoqIEZyaWRheSwgT2N0b2JlciAzMCwgMjAxNSAyOjU4IFBNDQoq +VG86KiDRgtC10LrRgdGCINGC0LXQutGB0YINCipTdWJqZWN0OiogW3RleHQgdGV4dF0gUmU6INGC +0LXQutGB0YIg0YEg0YLQtdC60YHRgg0KDQoNCg0KIyMtIFBsZWFzZSB0eXBlIHlvdXIgcmVwbHkg +YWJvdmUgdGhpcyBsaW5lIC0jIw0KDQpZb3VyIHJlcXVlc3QgKDEyMzQpIGhhcyBiZWVuIHVwZGF0 +ZWQuIFRvIGFkZCB0ZXh0IHRleHQsIHRleHQgdG8NCnRleHQgdi4= +--001a113d5d48995a6b052352536a +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + + + +--001a113d5d48995a6b052352536a-- diff --git a/QuoteParser.Tests/Resources/testEmls/ML/17747.txt b/QuoteParser.Tests/Resources/testEmls/ML/17747.txt deleted file mode 100644 index b261f5f..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/17747.txt +++ /dev/null @@ -1,30 +0,0 @@ -1. текст в текст текст - -2. текст текст текст текст-текст текст текст текст текст -в текст! - - - - - -*---* - -*С текст, текст текст!* - - -*Моб.тел.: +7 (123) 123-1234**S**kype: text* - - - -*From:* text text (text text) [mailto: -text.text@text.com] -*Sent:* Friday, October 30, 2015 2:58 PM -*To:* текст текст -*Subject:* [text text] Re: текст с текст - - - -##- Please type your reply above this line -## - -Your request (1234) has been updated. To add text text, text to -text v. \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/ML/18139.eml b/QuoteParser.Tests/Resources/testEmls/ML/18139.eml new file mode 100644 index 0000000..99fa07c --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/18139.eml @@ -0,0 +1,49 @@ +From: "text, text P." +Date: Sat, 7 Nov 2015 13:15:06 +0000 +References: + + + <838> + +Accept-Language: en-US +Content-Language: en-US +Content-Type: multipart/alternative; + boundary="_000_a7acf2e0bd984dda9947775b8cb39f9bAPLEX06dom1jhuapledu_" + +--_000_a7acf2e0bd984dda9947775b8cb39f9bAPLEX06dom1jhuapledu_ +Content-Type: text/plain; charset="utf-8" +Content-Transfer-Encoding: base64 + +dGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0IHRleHQgdGV4dC4gdGV4dCB0ZXh0IHRleHQgdGV4dCB0 +ZXh0IHRleHQgLg0KDQp0ZXh0IHRleHQgdGV4dCB0ZXh0DQoNCjA2IE5vdiAyMDE1IDE1OjAwOjQ1 +DQoNCnRleHQgdGV4dCB0ZXh0IHRleHQuLi4NCg0KMDYgTm92IDIwMTUgMTU6MDA6NDUNCg0KdGV4 +dCB0ZXh0IHRleHQgdGV4dC4uLg0KDQowNiBOb3YgMjAxNSAxNTowMDo0NQ0KDQp0ZXh0IHRleHQg +dGV4dCB0ZXh0Li4uDQoNCjA2IE5vdiAyMDE1IDE1OjAwOjQ1DQoNCnRleHQgdGV4dCB0ZXh0IHRl +eHQuLi4NCg0KMDYgTm92IDIwMTUgMTU6MDA6NDUNCg0KdGV4dCB0ZXh0IHRleHQgdGV4dC4uLg0K +DQowNiBOb3YgMjAxNSAxNTowMDo0NQ0KDQp0ZXh0IHRleHQgdGV4dCB0ZXh0Li4uDQoNCjA2IE5v +diAyMDE1IDE1OjAwOjQ1DQoNCnRleHQgdGV4dCB0ZXh0IChlLW1haWwgJiB0ZXh0IHRleHQpLi4u +DQoNCjA2IE5vdiAyMDE1IDE1OjAwOjQ1DQoNCnRleHQgdGV4dCwgdGV4dCwgdGV4dCB0ZXh0Li4u +DQoNCjA2IE5vdiAyMDE1IDE1OjAwOjQ1DQoNCnRleHQgdGV4dCB0ZXh0Li4uDQoNCjA2IE5vdiAy +MDE1IDE1OjAwOjQ1DQoNCnRleHQgdGV4dCB0ZXh0Li4uDQoNCjA2IE5vdiAyMDE1IDEzOjQ0OjMx +DQoNCnRleHQgdGV4dCB0ZXh0IHRleHQgdGV4dCBiYzJmYmZjNy05OWI2LTRkNzUtc2EwYS1kMjNm +YWUxM2IzY3UNCg0KMDYgTm92IDIwMTUgMTM6NDQ6MzENCg0KdGV4dCB0ZXh0IHRleHQgdGV4dCB0 +ZXh0IGJjMmZiZmM3LTk5YjYtNGQ3NS1zYTBhLWQyM2ZhZTEzYjNjdQ0KDQowNiBOb3YgMjAxNSAx +Mzo0NDozMQ0KDQp0ZXh0IHRleHQgdGV4dCB0ZXh0IHRleHQgYmMyZmJmYzctOTliNi00ZDc1LXNh +MGEtZDIzZmFlMTNiM2N1DQoNCjA2IE5vdiAyMDE1IDEzOjQ0OjMxDQoNCnRleHQgdGV4dCB0ZXh0 +IHRleHQgdGV4dCBiYzJmYmZjNy05OWI2LTRkNzUtc2EwYS1kMjNmYWUxM2IzY3UNCg0KMDYgTm92 +IDIwMTUgMTM6NDQ6MzENCg0KdGV4dCB0ZXh0IHRleHQgdGV4dA0KDQowNiBOb3YgMjAxNSAxNTow +MDo0NA0KDQp0ZXh0IHRleHQgdGV4dCB0ZXh0DQoNCjA2IE5vdiAyMDE1IDE0OjUxOjQ4DQoNCnRl +eHQgdGV4dCB0ZXh0IHRleHQuLi4NCg0KMDYgTm92IDIwMTUgMTQ6NTE6NDgNCg0KdGV4dCB0ZXh0 +IHRleHQgdGV4dC4uLg0KDQowNiBOb3YgMjAxNSAxNDo1MTo0OA0KDQp0ZXh0IHRleHQgdGV4dCB0 +ZXh0Li4uDQoNCjA2IE5vdiAyMDE1IDE0OjUxOjQ4DQoNCg0KdGV4dCB0ZXh0DQoNCkZyb206IHRl +eHQsIHRleHQgUC4NClNlbnQ6IEZyaWRheSwgTm92ZW1iZXIgMDYsIDIwMTUgMzo0NCBQTQ0KVG86 +ICd0ZXh0IHRleHQnDQpTdWJqZWN0OiBSRTogW3RleHQgdGV4dF0gUmU6IHRleHQgdGV4dCB0ZXh0 +IHRleHQgLSB0ZXh0IHRleHQgdGV4dCB0ZXh0IHRleHQNCg0Kc29tZSB0ZXh0 + +--_000_a7acf2e0bd984dda9947775b8cb39f9bAPLEX06dom1jhuapledu_ +Content-Type: text/html; charset="utf-8" +Content-Transfer-Encoding: base64 + +fghfghfhg + +--_000_a7acf2e0bd984dda9947775b8cb39f9bAPLEX06dom1jhuapledu_-- diff --git a/QuoteParser.Tests/Resources/testEmls/ML/18139.txt b/QuoteParser.Tests/Resources/testEmls/ML/18139.txt deleted file mode 100644 index a507fd9..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/18139.txt +++ /dev/null @@ -1,91 +0,0 @@ -text text text text text text text. text text text text text text . - -text text text text - -06 Nov 2015 15:00:45 - -text text text text... - -06 Nov 2015 15:00:45 - -text text text text... - -06 Nov 2015 15:00:45 - -text text text text... - -06 Nov 2015 15:00:45 - -text text text text... - -06 Nov 2015 15:00:45 - -text text text text... - -06 Nov 2015 15:00:45 - -text text text text... - -06 Nov 2015 15:00:45 - -text text text (e-mail & text text)... - -06 Nov 2015 15:00:45 - -text text, text, text text... - -06 Nov 2015 15:00:45 - -text text text... - -06 Nov 2015 15:00:45 - -text text text... - -06 Nov 2015 13:44:31 - -text text text text text bc2fbfc7-99b6-4d75-sa0a-d23fae13b3cu - -06 Nov 2015 13:44:31 - -text text text text text bc2fbfc7-99b6-4d75-sa0a-d23fae13b3cu - -06 Nov 2015 13:44:31 - -text text text text text bc2fbfc7-99b6-4d75-sa0a-d23fae13b3cu - -06 Nov 2015 13:44:31 - -text text text text text bc2fbfc7-99b6-4d75-sa0a-d23fae13b3cu - -06 Nov 2015 13:44:31 - -text text text text - -06 Nov 2015 15:00:44 - -text text text text - -06 Nov 2015 14:51:48 - -text text text text... - -06 Nov 2015 14:51:48 - -text text text text... - -06 Nov 2015 14:51:48 - -text text text text... - -06 Nov 2015 14:51:48 - - -text text - -From: text, text P. -Sent: Friday, November 06, 2015 3:44 PM -To: 'text text' -Subject: RE: [text text] Re: text text text text - text text text text text - -some text \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/ML/196.eml b/QuoteParser.Tests/Resources/testEmls/ML/196.eml new file mode 100644 index 0000000..b300959 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/196.eml @@ -0,0 +1,39 @@ +From: sdf sdf +Date: Thu, 5 Jun 2014 14:19:49 +0000 +References: + <538F> +Accept-Language: en-US +Content-Language: en-US +Content-Type: multipart/alternative; + boundary="_000_A4E3311A96F70A4AB36BD8425FF0DE30B4A673ORD2MBX04Cmex05ml_" + + +--_000_A4E3311A96F70A4AB36BD8425FF0DE30B4A673ORD2MBX04Cmex05ml_ +Content-Type: text/plain; charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable + +You didn't text my text text text text on text text or a text= +x? I text text to text text text text, text text text text text ch= +textin text text text text text text. text texttext. + +Thanks, +text + +From: text text +Sent: Wednesday, June 04, 2014 2:46 PM +To: 'text text' +Subject: RE: text-text text text text text tex tex= +text + +Thank you text, + + + +--_000_A4E3311A96F70A4AB36BD8425FF0DE30B4A673ORD2MBX04Cmex05ml_ +Content-Type: text/html; charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable + + + + +--_000_A4E3311A96F70A4AB36BD8425FF0DE30B4A673ORD2MBX04Cmex05ml_-- diff --git a/QuoteParser.Tests/Resources/testEmls/ML/196.txt b/QuoteParser.Tests/Resources/testEmls/ML/196.txt deleted file mode 100644 index fc1d5ba..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/196.txt +++ /dev/null @@ -1,13 +0,0 @@ -You didn't text my text text text text on text text or a textx? I text text to text text text text, text text text text text chtextin text text text text text text. text texttext. - -Thanks, -text - -From: text text -Sent: Wednesday, June 04, 2014 2:46 PM -To: 'text text' -Subject: RE: text-text text text text text tex textext - -Thank you text, - - diff --git a/QuoteParser.Tests/Resources/testEmls/ML/210.eml b/QuoteParser.Tests/Resources/testEmls/ML/210.eml new file mode 100644 index 0000000..c0978e1 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/210.eml @@ -0,0 +1,60 @@ +From: "text text" +References: <4DB2> +In-Reply-To: <4DB2> +Date: Fri, 6 Jun 2014 13:39:40 +0400 +Content-Type: multipart/alternative; + boundary="----=_NextPart_000_005C_01CF818C.C48886C0" +Content-Language: en-us + +This is a multi-part message in MIME format. + +------=_NextPart_000_005C_01CF818C.C48886C0 +Content-Type: text/plain; + charset="us-ascii" +Content-Transfer-Encoding: 7bit + +Hello text text textm, + + + +text text text text text text text text text text text text text text +text.text.text text. text, text texttext text text +text text text text text text. + + + +text, + + + +text text + +text text + +text, text + +http://www.text.com + +"text text text!" + + + +From: text text [mailto:text.text@text.com] +Sent: Thursday, June 05, 2014 2:11 PM +To: text.text@text.com +Cc: text text; text text +Subject: text of text text text & text +Importance: High + + + +Hi text, + +------=_NextPart_000_005C_01CF818C.C48886C0 +Content-Type: text/html; + charset="us-ascii" +Content-Transfer-Encoding: quoted-printable + +sdfsdfsdf +------=_NextPart_000_005C_01CF818C.C48886C0-- + diff --git a/QuoteParser.Tests/Resources/testEmls/ML/210.txt b/QuoteParser.Tests/Resources/testEmls/ML/210.txt deleted file mode 100644 index f74441f..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/210.txt +++ /dev/null @@ -1,36 +0,0 @@ -Hello text text textm, - - - -text text text text text text text text text text text text text text -text.text.text text. text, text texttext text text -text text text text text text. - - - -text, - - - -text text - -text text - -text, text - -http://www.text.com - -"text text text!" - - - -From: text text [mailto:text.text@text.com] -Sent: Thursday, June 05, 2014 2:11 PM -To: text.text@text.com -Cc: text text; text text -Subject: text of text text text & text -Importance: High - - - -Hi text, diff --git a/QuoteParser.Tests/Resources/testEmls/ML/260.eml b/QuoteParser.Tests/Resources/testEmls/ML/260.eml new file mode 100644 index 0000000..70904aa --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/260.eml @@ -0,0 +1,33 @@ +From: test test +Date: Tue, 10 Jun 2014 16:30:39 +0000 +References: <5182> + +In-Reply-To: +Accept-Language: en-US +Content-Language: en-US +Content-Type: multipart/alternative; + boundary="_000_a3139510917a44fcb4c2c01752ccea3bBLUPR04MB436namprd04pro_" + +--_000_a3139510917a44fcb4c2c01752ccea3bBLUPR04MB436namprd04pro_ +Content-Type: text/plain; charset="utf-8" +Content-Transfer-Encoding: base64 + +dGVzdCB0ZXN0IHRlc3QgdGVzdCB0aGF0IGlzIHRlc3QgdGVzdCB0ZXN0IHRlc3QgdGVzdCB0ZXN0 +IHRlc3QgdGVzdCB0ZXN0LiAgSXQgbG9va3MgbGlrZSB0aGV5IGhhdmVu4oCZdCB0ZXN0IHRlc3Qg +dGVzdCB0ZXN0IHRlc3QgdGVzdCB0ZXN0IHRlc3QuICB0ZXN0IHRlc3QgdGVzdCB0ZXN0IHRlc3Qg +dGVzdCB0byBkbyBpdCB0ZXN0IHRlc3QgeW91IHRlc3QgdGVzdCB0ZXN0IHRlc3QgdGVzdCB0ZXN0 +Lg0KDQp0ZXN0IHRlc3QNCnRlc3QgdGVzdCB0ZXN0DQp0ZXN0IHRlc3QNCg0KdGVzdCB0ZXN0DQp0 +ZXN0IHRlc3QgdGVzdCB0ZXN0IHRlc3QsIHRlc3QgNzAwDQp0ZXN0LCBPTiBNNUggM003IHRlc3QN +CnRlc3QgICAgICsxIDEyMyAxMjMgMTIzMw0KdGVzdCAgICAgKzEgMTIzIDEyMyAxMjMzDQp0ZXN0 +ICAgKzEgMTIzIDEyMyAxMjMzDQp0ZXN0QHRlc3QudGVzdA0KaHR0cDovL3d3dy50ZXN0LmNvbQ0K +dGVzdCB0ZXN0DQpGcm9tOiB0ZXN0IHRlc3QgW21haWx0bzp0ZXN0LXRlc3RAdGVzdC5jb21dDQpT +ZW50OiBUdWVzZGF5LCBKdW5lIDEwLCAyMDE0IDEyOjExIFBNDQpUbzogdGVzdCB0ZXN0DQpDYzog +dGVzdCB0ZXN0DQpTdWJqZWN0OiBSZTogdGVzdCB0ZXN0IHRlc3QNCg0KSGVsbG8gdGVzdCw= + +--_000_a3139510917a44fcb4c2c01752ccea3bBLUPR04MB436namprd04pro_ +Content-Type: text/html; charset="utf-8" +Content-Transfer-Encoding: base64 + +sdfsdfsdf + +--_000_a3139510917a44fcb4c2c01752ccea3bBLUPR04MB436namprd04pro_-- diff --git a/QuoteParser.Tests/Resources/testEmls/ML/260.txt b/QuoteParser.Tests/Resources/testEmls/ML/260.txt deleted file mode 100644 index 02917b3..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/260.txt +++ /dev/null @@ -1,22 +0,0 @@ -test test test test that is test test test test test test test test test. It looks like they haven’t test test test test test test test test. test test test test test test to do it test test you test test test test test test. - -test test -test test test -test test - -test test -test test test test test, test 700 -test, ON M5H 3M7 test -test +1 123 123 1233 -test +1 123 123 1233 -test +1 123 123 1233 -test@test.test -http://www.test.com -test test -From: test test [mailto:test-test@test.com] -Sent: Tuesday, June 10, 2014 12:11 PM -To: test test -Cc: test test -Subject: Re: test test test - -Hello test, \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/ML/279.eml b/QuoteParser.Tests/Resources/testEmls/ML/279.eml new file mode 100644 index 0000000..d42cb3e --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/279.eml @@ -0,0 +1,35 @@ +From: text text +Date: Wed, 11 Jun 2014 08:45:36 +0000 +References: <3266> + +In-Reply-To: +Accept-Language: en-US, en-GB +Content-Language: en-US +Content-Type: multipart/alternative; + boundary="_000_C75232E51C04834C9BD846FDA96E30948F0E4F43CAMBLA313pacons_" + +--_000_C75232E51C04834C9BD846FDA96E30948F0E4F43CAMBLA313pacons_ +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: base64 + +SGksDQoNCg0KDQpJIHRleHQgdGV4dCB0ZXh0IHRvIHRleHQgdGV4dC4gdGV4dCwgSSB0ZXh0IHRl +eHQgdG8gdGV4dCB0ZXh0IHRleHQgb2YgdGV4dCB0ZXh0IHRleHQuIEkgdGV4dCB0byB0ZXh0IHRl +eHQgdGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0IGF0OiBodHRwOi8vdGV4dC50ZXh0LmNvbS90ZXh0 +L3RleHQ0L3RleHQrb3IrdGV4dCt0ZXh0K3RleHQrdGV4dCt0ZXh0K3RleHQgLCB0ZXh0IHRleHQg +dGV4dCB0ZXh0IHRleHQ6DQoNCg0KDQoxLiAgICAgICB0ZXh0IHRleHQgdG8gdGV4dCAxOiBJIHRl +eHQgdGV4dCB0ZXh0LTEuMS50ZXh0DQoNCjIuICAgICAgIHRleHQgdGV4dCB0byB0ZXh0IDI6IEkg +dGV4dOKAmXQgdGV4dCB0ZXh0N3cudGV4dCwgdGV4dCB0ZXh0IHRleHQ2dy50ZXh0LiB0ZXh0IHRl +eHQgdGV4dCB0ZXh0IGl0ZXh0IOKAnHRleHQgdGV4dCB0ZXh0IHRleHQuIHRleHQgdGV4dCAndGV4 +dDYn4oCdLg0KDQoNCg0KdGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0IHRleHQuDQoNCg0KDQp0ZXh0 +LA0KDQp0ZXh0DQoNCg0KDQpGcm9tOiB0ZXh0IHRleHQgW21haWx0bzp0ZXh0LXRleHRAdGV4dC5j +b21dDQoNClNlbnQ6IFR1ZSAyNyBNYXkgMjAxNCAxODo0Ng0KDQpUbzogdGV4dCB0ZXh0DQoNClN1 +YmplY3Q6IFt0ZXh0LTEyMzRdIHRleHQndCB0ZXh0IHRleHQuIHRleHQgdGV4dCB0ZXh0DQoNCg0K +DQpPbiBNYXkgMjcsIDIwMTQgNToxNjoyMCBQTSwgYW5vdGhlciB1c2VyICh0ZXh0LnRleHRAdGV4 +dC5jb20pIHdyb3RlOg0KDQp0ZXh0J3QgdGV4dCB0ZXh0LiB0ZXh0IHRleHQgdGV4dA== +--_000_C75232E51C04834C9BD846FDA96E30948F0E4F43CAMBLA313pacons_ +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: base64 + +fghfghfgh +--_000_C75232E51C04834C9BD846FDA96E30948F0E4F43CAMBLA313pacons_-- + diff --git a/QuoteParser.Tests/Resources/testEmls/ML/279.txt b/QuoteParser.Tests/Resources/testEmls/ML/279.txt deleted file mode 100644 index 36406d3..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/279.txt +++ /dev/null @@ -1,37 +0,0 @@ -Hi, - - - -I text text text to text text. text, I text text to text text text of text text text. I text to text text text text text text text at: http://text.text.com/text/text4/text+or+text+text+text+text+text+text , text text text text text: - - - -1. text text to text 1: I text text text-1.1.text - -2. text text to text 2: I text’t text text7w.text, text text text6w.text. text text text text itext “text text text text. text text 'text6'”. - - - -text text text text text text. - - - -text, - -text - - - -From: text text [mailto:text-text@text.com] - -Sent: Tue 27 May 2014 18:46 - -To: text text - -Subject: [text-1234] text't text text. text text text - - - -On May 27, 2014 5:16:20 PM, another user (text.text@text.com) wrote: - -text't text text. text text text \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/ML/31.eml b/QuoteParser.Tests/Resources/testEmls/ML/31.eml new file mode 100644 index 0000000..b185b74 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/31.eml @@ -0,0 +1,60 @@ +From: "asd asd" +References: <5106> +In-Reply-To: <5106> +Date: Tue, 27 May 2014 07:50:29 -0400 +Content-Type: multipart/alternative; + boundary="----=_NextPart_000_001A_01CF7980.54959E20" +Content-Language: en-us + +This is a multi-part message in MIME format. + +------=_NextPart_000_001A_01CF7980.54959E20 +Content-Type: text/plain; + charset="UTF-8" +Content-Transfer-Encoding: quoted-printable + +The text text text text. It text text text a DNS text = +text text text text. text can text text text. + +=20 + +text, + +text text + +text LLC + +(239) 789-1234 x123 + +=20 + +text text, text, text and text + +http://www.text.com http://www.text.com + +=20 + +=20 + +From: text text [mailto:text-text@text.com]=20 +Sent: Monday, May 26, 2014 11:13 AM +To: text@text.com +Subject: [text-6432] text text text, text to text in to = +text.com + +=20 + +On May 26, 2014 7:12:55 PM, another user (text text) wrote: + + +text text text, text to text in to text.com + +------=_NextPart_000_001A_01CF7980.54959E20 +Content-Type: text/html; + charset="UTF-8" +Content-Transfer-Encoding: quoted-printable + + +------=_NextPart_000_001A_01CF7980.54959E20-- + + diff --git a/QuoteParser.Tests/Resources/testEmls/ML/31.txt b/QuoteParser.Tests/Resources/testEmls/ML/31.txt deleted file mode 100644 index 6c750b9..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/31.txt +++ /dev/null @@ -1,33 +0,0 @@ -The text text text text. It text text text a DNS text text text text text. text can text text text. - - - -text, - -text text - -text LLC - -(239) 789-1234 x123 - - - -text text, text, text and text - -http://www.text.com http://www.text.com - - - - - -From: text text [mailto:text-text@text.com] -Sent: Monday, May 26, 2014 11:13 AM -To: text@text.com -Subject: [text-6432] text text text, text to text in to text.com - - - -On May 26, 2014 7:12:55 PM, another user (text text) wrote: - - -text text text, text to text in to text.com diff --git a/QuoteParser.Tests/Resources/testEmls/ML/322.eml b/QuoteParser.Tests/Resources/testEmls/ML/322.eml new file mode 100644 index 0000000..f2e498b --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/322.eml @@ -0,0 +1,34 @@ +In-Reply-To: +References: +From: text.text@text.it +Date: Fri, 13 Jun 2014 12:16:34 +0200 +Content-Type: multipart/alternative; boundary="=_alternative 003872CCC1257CF6_=" + +Questo e un messaggio multiparte in formato MIME. +--=_alternative 003872CCC1257CF6_= +Content-Type: text/plain; charset="US-ASCII" + +Hello text +any text text the text? text text text text text text text text +text? +text text text text text text text. +Bye +text text + + + +Da: text text +Per: text.text@text.it +Data: 11/06/2014 19.16 +Oggetto: Re: text text text? + + + +text text,text text text text.text, text text text text + +--=_alternative 003872CCC1257CF6_= +Content-Type: text/html; charset="US-ASCII" + + +fhfghfgh +--=_alternative 003872CCC1257CF6_=-- diff --git a/QuoteParser.Tests/Resources/testEmls/ML/322.txt b/QuoteParser.Tests/Resources/testEmls/ML/322.txt deleted file mode 100644 index 884b782..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/322.txt +++ /dev/null @@ -1,17 +0,0 @@ -Hello text -any text text the text? text text text text text text text text -text? -text text text text text text text. -Bye -text text - - - -Da: text text -Per: text.text@text.it -Data: 11/06/2014 19.16 -Oggetto: Re: text text text? - - - -text text,text text text text.text, text text text text diff --git a/QuoteParser.Tests/Resources/testEmls/ML/348.txt b/QuoteParser.Tests/Resources/testEmls/ML/348.eml similarity index 60% rename from QuoteParser.Tests/Resources/testEmls/ML/348.txt rename to QuoteParser.Tests/Resources/testEmls/ML/348.eml index db18ea6..e800088 100644 --- a/QuoteParser.Tests/Resources/testEmls/ML/348.txt +++ b/QuoteParser.Tests/Resources/testEmls/ML/348.eml @@ -1,3 +1,13 @@ +In-Reply-To: +References: +From: asd.asd@asd.it +Date: Mon, 16 Jun 2014 12:41:46 +0200 +Content-Type: multipart/alternative; boundary="=_alternative 003AC15BC1257CF9_=" + +Questo e un messaggio multiparte in formato MIME. +--=_alternative 003AC15BC1257CF9_= +Content-Type: text/plain; charset="US-ASCII" + Hello asd I text text text text text text, text text, text a text text and text text text. text text text text text text text @@ -26,3 +36,10 @@ Oggetto: Re: text text some text, + +--=_alternative 003AC15BC1257CF9_= +Content-Type: text/html; charset="US-ASCII" + + +asdasdasd +--=_alternative 003AC15BC1257CF9_=-- diff --git a/QuoteParser.Tests/Resources/testEmls/ML/3697.eml b/QuoteParser.Tests/Resources/testEmls/ML/3697.eml new file mode 100644 index 0000000..d7a8a27 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/3697.eml @@ -0,0 +1,53 @@ +From: test test +Content-Type: multipart/alternative; boundary="Apple-Mail=_A968DCA5-66A0-41C2-B916-587092BC17A9" +Date: Mon, 17 Nov 2014 18:14:30 +0300 +References: <05c> + +--Apple-Mail=_A968DCA5-66A0-41C2-B916-587092BC17A9 +Content-Transfer-Encoding: quoted-printable +Content-Type: text/plain; + charset=utf-8 + + +Hello, + +I=E2=80=99m test test test to test v tests test are test = +test test test test test test. + +Thank you. +-- +test test +=20 +QA Engineer +test test +test +http://www.test.com +"test test test!" + + + + +>=20 +> From: test test [mailto:test@test.com ]=20= + +> Sent: Friday, November 14, 2014 8:40 AM +> To: test@test.com +> Subject: test test test to test my test test for test test test = +test +> =20 +> some text +> =20 +> =20 +> =20 +> =20 +> =20 + + +--Apple-Mail=_A968DCA5-66A0-41C2-B916-587092BC17A9 +Content-Transfer-Encoding: quoted-printable +Content-Type: text/html; + charset=utf-8 + += + +--Apple-Mail=_A968DCA5-66A0-41C2-B916-587092BC17A9-- diff --git a/QuoteParser.Tests/Resources/testEmls/ML/3697.txt b/QuoteParser.Tests/Resources/testEmls/ML/3697.txt deleted file mode 100644 index 5e88d9d..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/3697.txt +++ /dev/null @@ -1,31 +0,0 @@ - -Hello, - -I’m test test test to test v tests test are test test test test test test test. - -Thank you. --- -test test - -QA Engineer -test test -test -http://www.test.com -"test test test!" - - - - -> -> From: test test [mailto:test@test.com ] -> Sent: Friday, November 14, 2014 8:40 AM -> To: test@test.com -> Subject: test test test to test my test test for test test test test -> -> some text -> -> -> -> -> - diff --git a/QuoteParser.Tests/Resources/testEmls/ML/3715.eml b/QuoteParser.Tests/Resources/testEmls/ML/3715.eml new file mode 100644 index 0000000..c777abd --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/3715.eml @@ -0,0 +1,58 @@ +In-Reply-To: +References: + <05d3> + +Date: Tue, 18 Nov 2014 02:45:07 +0400 +From: text text +Content-Type: multipart/alternative; boundary=001a11345d76fc2e2b050815ba62 + +--001a11345d76fc2e2b050815ba62 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +Hi text, + +Please, text text text text text text text. + +texttext text. + + +--=20 +text text +text engineer +texttext, text +http://www.text.com +"text text text!" + + +> +> +> +> +> +> +> *From:* text text [mailto:text.text@text.com] +> *Sent:* Thursday, November 13, 2014 11:15 AM +> *To:* text@text.com +> *Subject:* text text text text text +> +> +> +> text texttext text +> +> + + +--=20 +text text +text text +text, text +http://www.text.com +"text text text!" + +--001a11345d76fc2e2b050815ba62 +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +asdsad +--001a11345d76fc2e2b050815ba62-- diff --git a/QuoteParser.Tests/Resources/testEmls/ML/3715.txt b/QuoteParser.Tests/Resources/testEmls/ML/3715.txt deleted file mode 100644 index cf49d31..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/3715.txt +++ /dev/null @@ -1,39 +0,0 @@ -Hi text, - -Please, text text text text text text text. - -texttext text. - - --- -text text -text engineer -texttext, text -http://www.text.com -"text text text!" - - -> -> -> -> -> -> -> *From:* text text [mailto:text.text@text.com] -> *Sent:* Thursday, November 13, 2014 11:15 AM -> *To:* text@text.com -> *Subject:* text text text text text -> -> -> -> text texttext text -> -> - - --- -text text -text text -text, text -http://www.text.com -"text text text!" diff --git a/QuoteParser.Tests/Resources/testEmls/ML/38.eml b/QuoteParser.Tests/Resources/testEmls/ML/38.eml new file mode 100644 index 0000000..d4ac2c7 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/38.eml @@ -0,0 +1,58 @@ +From: text text +Date: Tue, 27 May 2014 13:20:45 +0000 +References: <906> + +In-Reply-To: +Accept-Language: en-US +Content-Language: en-US +Content-Type: multipart/alternative; + boundary="_000_e97e70fb604f465799d61c98bd94c0c2orangevxclocal_" + + +--_000_e97e70fb604f465799d61c98bd94c0c2orangevxclocal_ +Content-Type: text/plain; charset="utf-8" +Content-Transfer-Encoding: quoted-printable + +text text of the text text IP text text text or text text.= + I text text text text text our text text text text text = +in text in text text. Is the text on the text text? + +text, + + +text text +text text +text text +400 text text +text, FL 11123 +text: (770) 123-4567 +text@text.com +www.text.com + + + +From: text text [mailto:text.text@text.com] +Sent: Tuesday, May 27, 2014 4:05 AM +To: text text +Cc: text-text-v@text.com; text.text@v.com +Subject: Re: text text v + +Hi text, +text text text text text text. +It text the text text isn't text text text text.= + text, text text text. + +2014-05-23 16:32 GMT+04:00 text text >: +text, + +text is the text of text text? I text not text any text at all text text. + + +--_000_e97e70fb604f465799d61c98bd94c0c2orangevxclocal_ +Content-Type: text/html; charset="utf-8" +Content-Transfer-Encoding: quoted-printable + +asdasd + +--_000_e97e70fb604f465799d61c98bd94c0c2orangevxclocal_-- diff --git a/QuoteParser.Tests/Resources/testEmls/ML/38.txt b/QuoteParser.Tests/Resources/testEmls/ML/38.txt deleted file mode 100644 index 21cf824..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/38.txt +++ /dev/null @@ -1,31 +0,0 @@ -text text of the text text IP text text text or text text. I text text text text text our text text text text text in text in text text. Is the text on the text text? - -text, - - -text text -text text -text text -400 text text -text, FL 11123 -text: (770) 123-4567 -text@text.com -www.text.com - - - -From: text text [mailto:text.text@text.com] -Sent: Tuesday, May 27, 2014 4:05 AM -To: text text -Cc: text-text-v@text.com; text.text@v.com -Subject: Re: text text v - -Hi text, -text text text text text text. -It text the text text isn't text text text text. text, text text text. - -2014-05-23 16:32 GMT+04:00 text text >: -text, - -text is the text of text text? I text not text any text at all text text. - diff --git a/QuoteParser.Tests/Resources/testEmls/ML/3926.eml b/QuoteParser.Tests/Resources/testEmls/ML/3926.eml new file mode 100644 index 0000000..a02bb23 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/3926.eml @@ -0,0 +1,35 @@ +Date: Mon, 24 Nov 2014 16:43:49 -0500 +From: test test +References: + + <04d5> +In-Reply-To: <04d5> +Content-type: multipart/alternative; + boundary="B_3499692236_20126003" + +--B_3499692236_20126003 +Content-type: text/plain; + charset="ISO-8859-1" +Content-transfer-encoding: quoted-printable + +test test test test test test=8APteste test + +From: test test +Organization: test test +Date: Monday, November 24, 2014 at 4:05 PM +To: 'test test' , +Cc: test test +Subject: RE: test test test 1500 test test test + +test test, + +--B_3499692236_20126003 +Content-type: text/html; + charset="ISO-8859-1" +Content-transfer-encoding: quoted-printable + + + +--B_3499692236_20126003-- + + diff --git a/QuoteParser.Tests/Resources/testEmls/ML/3926.txt b/QuoteParser.Tests/Resources/testEmls/ML/3926.txt deleted file mode 100644 index 77d0050..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/3926.txt +++ /dev/null @@ -1,10 +0,0 @@ -test test test test test testŠPteste test - -From: test test -Organization: test test -Date: Monday, November 24, 2014 at 4:05 PM -To: 'test test' , -Cc: test test -Subject: RE: test test test 1500 test test test - -test test, diff --git a/QuoteParser.Tests/Resources/testEmls/ML/4298.eml b/QuoteParser.Tests/Resources/testEmls/ML/4298.eml new file mode 100644 index 0000000..cd29df9 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/4298.eml @@ -0,0 +1,27 @@ +Date: Tue, 02 Dec 2014 12:21:55 -0800 +From: asd asd +Content-Type: multipart/alternative; boundary="--_com.android.email_102378900787240" + +----_com.android.email_102378900787240 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: base64 + +SGkgdGV4dCwNCg0KdGV4dCB0ZXh0IHRleHQuIHRleHQgdGV4dCB0ZXh0IHRleHQgdGV4dCB3ZSB0 +ZXh0IHRleHQgdG8gdGV4dCB0ZXh0Lg0KDQp0ZXh0IHRleHQsDQp0ZXh0DQoNCg0KdGV4dCB0ZXh0 +IHRoZSB0ZXh0IHRleHQgU+KEoiBJSUksIHRleHQgQVQmVCA0RyB0ZXh0IHRleHQNCg0KPGRpdj4t +LS0tLS0tLSBPcmlnaW5hbCBtZXNzYWdlIC0tLS0tLS0tPC9kaXY+PGRpdj5Gcm9tOiB0ZXh0IHRl +eHQgPHRleHQtdGV4dEB0ZXh0LmNvbT4gPC9kaXY+PGRpdj5EYXRlOjEyLzAyLzIwMTQgIDA5OjQ4 +ICAoR01ULTA4OjAwKSA8L2Rpdj48ZGl2PlRvOiB0ZXh0LnRleHQuMTIzQHRleHQudGV4dC50ZXh0 +IDwvZGl2PjxkaXY+U3ViamVjdDogUmU6IHRleHQndCB0ZXh0IG9yIHRleHQgdGV4dCA8L2Rpdj48 +ZGl2Pg0KPC9kaXY+SGVsbG8sDQoNCnRleHQgdGV4dCB0ZXh0IHRleHQgdGV4dCwgdGV4dCB0ZXh0 +IHRleHQgdGV4dCB0ZXh0IHRleHQ/ + +----_com.android.email_102378900787240 +Content-Type: text/html; charset=utf-8 +Content-Transfer-Encoding: base64 + +asdasdasd + +----_com.android.email_102378900787240-- + + diff --git a/QuoteParser.Tests/Resources/testEmls/ML/4298.txt b/QuoteParser.Tests/Resources/testEmls/ML/4298.txt deleted file mode 100644 index e3ff203..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/4298.txt +++ /dev/null @@ -1,14 +0,0 @@ -Hi text, - -text text text. text text text text text we text text to text text. - -text text, -text - - -text text the text text S™ III, text AT&T 4G text text - -
-------- Original message --------
From: text text
Date:12/02/2014 09:48 (GMT-08:00)
To: text.text.123@text.text.text
Subject: Re: text't text or text text
-
Hello, - -text text text text text, text text text text text text? \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/ML/43.eml b/QuoteParser.Tests/Resources/testEmls/ML/43.eml new file mode 100644 index 0000000..27b7360 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/43.eml @@ -0,0 +1,45 @@ +In-Reply-To: <947> +References: <947> +From: text@text.ru +Date: Tue, 27 May 2014 22:18:32 +0400 +Content-Type: multipart/alternative; boundary="=_alternative 0064953444257CE5_=" + +This is a multipart message in MIME format. +--=_alternative 0064953444257CE5_= +Content-Type: text/plain; charset="UTF-8" +Content-Transfer-Encoding: base64 + +dGV4dCwNCg0KdGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0IHRleHQsIHRleHQgdGV4dCB0ZXh0IHRl +eHQNCnRleHQgdGV4dC4gdGV4dCB0ZXh0IHRleHQgdGV4dCwgdGV4dCB0ZXh0LCB0ZXh0IHRleHQN +CnRleHQgdGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0LCB0ZXh0IHRleHQgdGV4dCB0ZXh0DQp0ZXh0 +IHRleHQgdGV4dC4gdGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0IHRleHQgdGV4dDoNCjEuIHRleHQg +dGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0LiB0ZXh0IC0gdGV4dCB0ZXh0IHRleHQNCnRleHQgdGV4 +dCwgdGV4dCB0ZXh0IHRleHQgdGV4dCwgdGV4dCB0ZXh0LiB0ZXh0IHRleHQgDQp0ZXh0IHRleHQg +dGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0IHRleHQuICsgdGV4dCB0ZXh0DQp0ZXh0IHRleHQgdGV4 +dCB0ZXh0IHRleHQgdGV4dC4gdGV4dCB0ZXh0IHRleHQgdGV4dA0KMi4gdGV4dCB0ZXh0IHRleHQg +dGV4dCB0ZXh0ICJ0ZXh0IiB0ZXh0IHRleHQgDQp0ZXh0IHRleHQgKHRleHQgdGV4dCB0ZXh0IHRl +eHQpDQozLiB0ZXh0IHRleHQgdGV4dCB0ZXh0IHRleHQgInRleHQgdGV4dCB0ZXh0IiB0ZXh0IA0K +dGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0IHRleHQgdGV4dCANCnRleHQgdGV4dCB0ZXh0IHRleHQg +dGV4dCB0ZXh0IHRleHQgDQo0LiB0ZXh0IHRleHQgdGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0IA0K +dGV4dCB0ZXh0IHRleHQgKHRleHQgdGV4dCAidGV4dCB0ZXh0IA0KdGV4dCB0ZXh0IiB0ZXh0IHRl +eHQgInRleHQiKSB0ZXh0IHRleHQgdGV4dCANCnRleHQNCjUuIHRleHQgdGV4dCB0ZXh0IHRleHQg +dGV4dCB0ZXh0IC0gdGV4dCANCnRleHQgdGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0IHRleHQgDQp0 +ZXh0IHRleHQgdGV4dCAodGV4dCwgdGV4dCB0ZXh0IHRleHQuKSANCjYuIHRleHQgdGV4dCB0ZXh0 +IHRleHQgdGV4dCB0ZXh0IHRleHQgIA0KKHRleHQgdGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0IHRl +eHQgKQ0KDQp0ZXh0IHRleHQgdGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0ID8NCg0KdGV4dCB0ZXh0 +IHRleHQuIHRleHQgLSB0ZXh0IHRleHQgdGV4dCANCnRleHQgdGV4dCB0ZXh0IHRleHQgdGV4dC4g +dGV4dCB0ZXh0IA0KdGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0IHRleHQgdGV4dCAuDQoNCnRleHQg +dGV4dCwgdGV4dCB0ZXh0DQp0ZXh0ICJ0ZXh0IHRleHQgdGV4dCB0ZXh0wrsNCis3IDkxMSA1NDYg +MTIzNA0KDQoNCg0K0J7RgjogICAgIHRleHQgdGV4dCA8dGV4dC10ZXh0QHRleHQuY29tPg0K0JrQ +vtC80YM6ICAgdGV4dEB0ZXh0LnJ1DQrQlNCw0YLQsDogICAyNi4wNS4yMDE0IDIxOjI3DQrQotC1 +0LzQsDogICBbdGV4dC05NjU0XSDQntGA0LPQsNC90LjQt9Cw0YbQuNGPIHRleHQnYQ0KDQoNCg0K +T24gTWF5IDI2LCAyMDE0IDk6Mjc6MTkgUE0sIGFub3RoZXIgdXNlciAodGV4dCB0ZXh0KSB3cm90 +ZToNCnRleHQgaGVscGRlc2snYQ0K0JfQtNGA0LDQstGB0YLQstGD0LnRgtC1LCB0ZXh0DQoNCtCh +0L/QsNGB0LjQsdC+INC30LAg0LLQsNGIIGZlZWRiYWNrIQ== + +--=_alternative 0064953444257CE5_= +Content-Type: text/html; charset="UTF-8" +Content-Transfer-Encoding: quoted-printable + +sdfsdf +--=_alternative 0064953444257CE5_=-- diff --git a/QuoteParser.Tests/Resources/testEmls/ML/43.txt b/QuoteParser.Tests/Resources/testEmls/ML/43.txt deleted file mode 100644 index 63360ef..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/43.txt +++ /dev/null @@ -1,49 +0,0 @@ -text, - -text text text text text text, text text text text -text text. text text text text, text text, text text -text text text text text text, text text text text -text text text. text text text text text text text: -1. text text text text text text. text - text text text -text text, text text text text, text text. text text -text text text text text text text text. + text text -text text text text text text. text text text text -2. text text text text text "text" text text -text text (text text text text) -3. text text text text text "text text text" text -text text text text text text text -text text text text text text text -4. text text text text text text text -text text text (text text "text text -text text" text text "text") text text text -text -5. text text text text text text - text -text text text text text text text -text text text (text, text text text.) -6. text text text text text text text -(text text text text text text text ) - -text text text text text text text ? - -text text text. text - text text text -text text text text text. text text -text text text text text text text . - -text text, text text -text "text text text text» -+7 911 546 1234 - - - -От: text text -Кому: text@text.ru -Дата: 26.05.2014 21:27 -Тема: [text-9654] Организация text'a - - - -On May 26, 2014 9:27:19 PM, another user (text text) wrote: -text helpdesk'a -Здравствуйте, text - -Спасибо за ваш feedback! \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/ML/5859.eml b/QuoteParser.Tests/Resources/testEmls/ML/5859.eml new file mode 100644 index 0000000..571b7a8 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/5859.eml @@ -0,0 +1,44 @@ +Date: Sun, 2 Nov 2014 17:15:29 +0300 (MSK) +From: text text +In-Reply-To: +References: +Content-Type: multipart/mixed; + boundary="----=_Part_61972_1861346059.1414937729503" + +------=_Part_61972_1861346059.1414937729503 +Content-Type: multipart/related; + boundary="----=_Part_61973_1248927764.1414937729503" + +------=_Part_61973_1248927764.1414937729503 +Content-Type: multipart/alternative; + boundary="----=_Part_61974_1223763770.1414937729503" + +------=_Part_61974_1223763770.1414937729503 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +Dear texttext text, +text your message we text text< https://text.text.com/= +text/text-0000#text=3D00-000038 > a text text text text< https://text= +text.text.text/text/text-0123 > text-0123 +text a text of text text, text text receive further notifications text a= +ny text for text text. All text text be text to text e-mail ad= +text text text the text. If text do text text to text text= +ns, you text text text in text text< https://text.text.com/text/= +text?text=asd+and+asd > asd. +From : asd.text@text.com +Sent : Sun Nov 02 17:11:48 MSK 2014 +Subject : text text to text text text +Hi, +text text text text text text text text text. +------=_Part_61974_1223763770.1414937729503 +Content-Type: text/html;charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +dfgh + +------=_Part_61974_1223763770.1414937729503-- + +------=_Part_61973_1248927764.1414937729503-- + +------=_Part_61972_1861346059.1414937729503-- diff --git a/QuoteParser.Tests/Resources/testEmls/ML/5859.txt b/QuoteParser.Tests/Resources/testEmls/ML/5859.txt deleted file mode 100644 index 847b580..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/5859.txt +++ /dev/null @@ -1,8 +0,0 @@ -Dear texttext text, -text your message we text text< https://text.text.com/text/text-0000#text=00-000038 > a text text text text< https://texttext.text.text/text/text-0123 > text-0123 -text a text of text text, text text receive further notifications text any text for text text. All text text be text to text e-mail adtext text text the text. If text do text text to text textns, you text text text in text text< https://text.text.com/text/text?text=asd+and+asd > asd. -From : asd.text@text.com -Sent : Sun Nov 02 17:11:48 MSK 2014 -Subject : text text to text text text -Hi, -text text text text text text text text text. \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/ML/82.eml b/QuoteParser.Tests/Resources/testEmls/ML/82.eml new file mode 100644 index 0000000..5fe10cb --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/82.eml @@ -0,0 +1,29 @@ +In-Reply-To: <538> +References: <538> +From: tyext@tyext.ru +Date: Fri, 30 May 2014 12:24:20 +0400 +Content-Type: multipart/alternative; boundary="=_alternative 002E2E9844257CE8_=" + +This is a multipart message in MIME format. +--=_alternative 002E2E9844257CE8_= +Content-Type: text/plain; charset="UTF-8" +Content-Transfer-Encoding: base64 + +YXNkLCDQtNC+0LHRgNGL0Lkg0LTQtdC90YwhDQoNCtCh0L/QsNGB0LjQsdC+LCBhc2QuDQrRgtC1 +0LrRgdGCINGC0LXQutGB0YIg0YLQtdC60YHRgiDRgtC10LrRgdGCLCDQv9C+INGC0LXQutGB0YIg +0YLQtdC60YHRgiDRgtC10LrRgdGCLCDQvdC1INGC0LXQutGB0YIgDQrRgtC10LrRgdGCINGC0LXQ +utGB0YIg0LIgImZpeGVkIiA7KQ0KDQrQoSDRg9Cy0LDQttC10L3QuNC10LwsINGC0LXQutGB0YIg +0YLQtdC60YHRgg0K0YLQtdC60YHRgiAi0YLQtdC60YHRgiDRgtC10LrRgdGCINGC0LXQutGB0YIg +0YLQtdC60YHRgsK7DQorNyAzMTIgNjU0IDk4NzQNCg0KDQoNCtCe0YI6ICAgICAidGV4dC50ZXh0 +IiA8dGV4dC50ZXh0QHRleHQuY29tPg0K0JrQvtC80YM6ICAgdGV4dEB0ZXh0LnJ1LCB0ZXh0IHRl +eHQgDQo8dGV4dC10ZXh0QHRleHQuY29tPg0K0JTQsNGC0LA6ICAgMzAuMDUuMjAxNCAxMToxNw0K +0KLQtdC80LA6ICAgUmU6INCe0LPRgNCw0L3QuNGH0LXQvdC40Y8g0LIgdGV4dCdlDQoNCg0KDQrQ +lNC+0LHRgNGL0Lkg0LTQtdC90YwsDQoNCtC00LAsINGC0LXQutGB0YIg0YLQtdC60YHRgiDRgtC1 +0LrRgdGCINGN0YLQviDRgtC10LrRgdGCINGC0LXQutGB0YIg0YLQtdC60YHRgjoNCnRleHQgdGV4 +dCB0ZXh0IHRleHQg +--=_alternative 002E2E9844257CE8_= +Content-Type: text/html; charset="UTF-8" +Content-Transfer-Encoding: base64 + +GGvDbnQ +--=_alternative 002E2E9844257CE8_=-- diff --git a/QuoteParser.Tests/Resources/testEmls/ML/82.txt b/QuoteParser.Tests/Resources/testEmls/ML/82.txt deleted file mode 100644 index 51020fa..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/82.txt +++ /dev/null @@ -1,24 +0,0 @@ -asd, добрый день! - -Спасибо, asd. -текст текст текст текст, по текст текст текст, не текст -текст текст в "fixed" ;) - -С уважением, текст текст -текст "текст текст текст текст» -+7 312 654 9874 - - - -От: "text.text" -Кому: text@text.ru, text text - -Дата: 30.05.2014 11:17 -Тема: Re: Ограничения в text'e - - - -Добрый день, - -да, текст текст текст это текст текст текст: -text text text text \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/ML/85.eml b/QuoteParser.Tests/Resources/testEmls/ML/85.eml new file mode 100644 index 0000000..a2f5a8b --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/ML/85.eml @@ -0,0 +1,75 @@ +From: "text text" +References: +In-Reply-To: +Date: Fri, 30 May 2014 12:11:34 +0200 +Content-Type: multipart/alternative; + boundary="----=_NextPart_000_0222_01CF7C00.4CE56520" +Content-Language: cs + + +This is a multipart message in MIME format. + +------=_NextPart_000_0222_01CF7C00.4CE56520 +Content-Type: text/plain; + charset="UTF-8" +Content-Transfer-Encoding: quoted-printable + +Hello text, + +=20 + +Can you text text text? He is text text: + +=20 + +https://text-text.text.net/text/text/text.text?text=3D= +3215645421 + +=20 + +=20 + +Best regards,=20 + + + +text text=20 +text text=20 + +text s.S.s.=20 +Na H=C5=99ebtext II 5425/19=20 +text, 147 00, text text=20 +text: +420 234 234 234 (ext. 23434)=20 +text: +420 234 224 234=20 +www.text.com=20 +"text text text!"=20 + +=20 + +From: text text [mailto:text-text@text.com]=20 +Sent: Thursday, May 29, 2014 5:01 PM +Subject: Re: text text text text + +=20 + +Hello text, + +Thank you for contacting us! + +text, text text text text text. + +text text, text text. + +Thank you. + +!DSPAM:10,23423nn23423423423! + + +------=_NextPart_000_0222_01CF7C00.4CE56520 +Content-Type: text/html; + charset="UTF-8" +Content-Transfer-Encoding: quoted-printable + +html +------=_NextPart_000_0222_01CF7C00.4CE56520-- + diff --git a/QuoteParser.Tests/Resources/testEmls/ML/85.txt b/QuoteParser.Tests/Resources/testEmls/ML/85.txt deleted file mode 100644 index 5118011..0000000 --- a/QuoteParser.Tests/Resources/testEmls/ML/85.txt +++ /dev/null @@ -1,49 +0,0 @@ -Hello text, - - - -Can you text text text? He is text text: - - - -https://text-text.text.net/text/text/text.text?text=3215645421 - - - - - -Best regards, - - - -text text -text text - -text s.S.s. -Na Hřebtext II 5425/19 -text, 147 00, text text -text: +420 234 234 234 (ext. 23434) -text: +420 234 224 234 -www.text.com -"text text text!" - - - -From: text text [mailto:text-text@text.com] -Sent: Thursday, May 29, 2014 5:01 PM -Subject: Re: text text text text - - - -Hello text, - -Thank you for contacting us! - -text, text text text text text. - -text text, text text. - -Thank you. - -!DSPAM:10,23423nn23423423423! - diff --git a/QuoteParser.Tests/Resources/testEmls/SL/10.eml b/QuoteParser.Tests/Resources/testEmls/SL/10.eml new file mode 100644 index 0000000..df0d473 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/10.eml @@ -0,0 +1,47 @@ +Content-Type: multipart/alternative; boundary="Apple-Mail=_76CBEEF0-3F89-4DC3-A2DB-0A5022E06BFA" +In-Reply-To: +From: Batman +Date: Mon, 26 May 2014 19:17:15 +0400 +References: + + +--Apple-Mail=_76CBEEF0-3F89-4DC3-A2DB-0A5022E06BFA +Content-Transfer-Encoding: quoted-printable +Content-Type: text/plain; + charset=windows-1252 + +Hello guys, + +I'm Batman! I'm Batman! I'm Batman! I'm Batman! I'm Batman! I'm Batman! +I'm Batman! I'm Batman! I'm Batman! I'm Batman! I'm Batman! +I'm Batman! I'm Batman! I'm Batman! +I'm Batman! + +Thank you. +-- +Batman's signature + +On 26 May 2014, at 14:25 , Robin = + wrote: + +> On May 26, 2014 2:25:22 PM, another user wrote: +> Update: +> Hi Batman,=20 +>=20 +> Forwarded to Joker. +>=20 +>=20 +>=20 +>=20 +>=20 +>=20 + + +--Apple-Mail=_76CBEEF0-3F89-4DC3-A2DB-0A5022E06BFA +Content-Transfer-Encoding: quoted-printable +Content-Type: text/html; + charset=windows-1252 + +html is placed here= + +--Apple-Mail=_76CBEEF0-3F89-4DC3-A2DB-0A5022E06BFA-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/10.txt b/QuoteParser.Tests/Resources/testEmls/SL/10.txt deleted file mode 100644 index 024e03a..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/10.txt +++ /dev/null @@ -1,25 +0,0 @@ -Hello guys, - -I'm Batman! I'm Batman! I'm Batman! I'm Batman! I'm Batman! I'm Batman! -I'm Batman! I'm Batman! I'm Batman! I'm Batman! I'm Batman! -I'm Batman! I'm Batman! I'm Batman! -I'm Batman! - -Thank you. --- -Batman's signature - -On 26 May 2014, at 14:25 , Robin wrote: - -> On May 26, 2014 2:25:22 PM, another user wrote: -> Update: -> Hi Batman, -> -> Forwarded to Joker. -> -> -> -> -> -> - diff --git a/QuoteParser.Tests/Resources/testEmls/SL/1066.eml b/QuoteParser.Tests/Resources/testEmls/SL/1066.eml new file mode 100644 index 0000000..60ceca4 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/1066.eml @@ -0,0 +1,52 @@ +Date: Thu, 24 Jul 2014 13:37:13 -0700 +From: X D +References: +In-Reply-To: +Content-Type: multipart/alternative; + boundary="------------060208020702060906090204" + +This is a multi-part message in MIME format. +--------------060208020702060906090204 +Content-Type: text/plain; charset=UTF-8; format=flowed +Content-Transfer-Encoding: 8bit + +My text text text text text on text. + + > "text, to text text text text text text text text +'on text text' text text text text or text text to +text text. text text text you text text text +text." + +text 'on text text' text to be text text text, text I'm +text text text to do text. The 'text text' text text +text to text the text text as in text and text. + + > "text it text text text the text is text the text of some text ? +text I text, you've text the text text the text ?" + +text text, I text it out text. text /text/ I text +text text a text text of the text text. +text, it text text text! :) + + +On 7/11/14, 9:30 AM, X Y wrote: +> Hi text, +> +> text, to text text text text text text text text 'on +> text text' text text text text or text text to +> text text. + +-- +------------------------------------------------------------------------ +*text text*, text | text text | text text | w: +1-866-328-9514 | m: 1-982-345-8421 +*text us for text : text text's +text text • August 7-8, 2014* + +--------------060208020702060906090204 +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +html goes here + +--------------060208020702060906090204-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/1066.txt b/QuoteParser.Tests/Resources/testEmls/SL/1066.txt deleted file mode 100644 index 289c4c6..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/1066.txt +++ /dev/null @@ -1,20 +0,0 @@ -My text text text text text on text. - -> "text, to text text text text text text text text 'on text text' text text text text or text text to text text. text text text you text text text text." - -text 'on text text' text to be text text text, text I'm text text text to do text. The 'text text' text text text to text the text text as in text and text. - -> "text it text text text the text is text the text of some text ? text I text, you've text the text text the text ?" - -text text, I text it out text. text /text/ I text text text a text text of the text text. -text, it text text text! :) - - -On 7/11/14, 9:30 AM, X Y wrote: -> Hi text, -> -> text, to text text text text text text text text 'on text text' text text text text or text text to text text. - --- ------------------------------------------------------------------------ -*text text*, text | text text | text text | w: 1-866-328-9514 | m: 1-982-345-8421 -*text us for text : text text's text text • August 7-8, 2014* diff --git a/QuoteParser.Tests/Resources/testEmls/SL/1077.eml b/QuoteParser.Tests/Resources/testEmls/SL/1077.eml new file mode 100644 index 0000000..5eb532f --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/1077.eml @@ -0,0 +1,66 @@ +In-Reply-To: +References: + + + +Date: Sat, 26 Jul 2014 15:55:39 +0400 +From: Wylsa cvb +Content-Type: multipart/alternative; boundary=047d7bdc8e8a600aa504ff175e07 + +--047d7bdc8e8a600aa504ff175e07 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +=D0=9F=D0=B0=D1=88=D1=83=D0=BB=D1=8F, =D0=BF=D1=80=D0=B8=D0=B2=D0=B5=D1=82.= + =D0=9C=D0=BE=D0=B6=D0=B5=D1=88=D1=8C =D0=BF=D0=BE=D1=81=D0=BC=D0=BE=D1=82= +=D1=80=D0=B5=D1=82=D1=8C ? + +=D1=81=D1=83=D0=B1=D0=B1=D0=BE=D1=82=D0=B0, 26 =D0=B8=D1=8E=D0=BB=D1=8F 201= +4 =D0=B3. =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0= +=BB=D1=8C Some Body =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: + +> text, +> +> text for text. +> text text text text us text text text? text text text to text +> text the text? We text an text, the text text be text +> text text text text . +> The text can be text to our text ftp://ftp.example.net/.exmpl/ +> +> text text. +> +> +> text text text text! +>> +>> I text it text text. +>> +>> text text text +>> +>> text text text +>> text text text +>> +>> +> +> -- +> text text +> text text +> text, text +> http://www.example.com +> "text text text!" +> + + +--=20 +text text +text text +text, text +http://www.exmple.com +"text text text!" + +--047d7bdc8e8a600aa504ff175e07 +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +html + +--047d7bdc8e8a600aa504ff175e07-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/1077.txt b/QuoteParser.Tests/Resources/testEmls/SL/1077.txt deleted file mode 100644 index cef1ea4..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/1077.txt +++ /dev/null @@ -1,41 +0,0 @@ -Пашуля, привет. Можешь посмотреть ? - -суббота, 26 июля 2014 г. пользователь Some Body написал: - -> text, -> -> text for text. -> text text text text us text text text? text text text to text -> text the text? We text an text, the text text be text -> text text text text . -> The text can be text to our text ftp://ftp.example.net/.exmpl/ -> -> text text. -> -> -> text text text text! ->> ->> I text it text text. ->> ->> text text text ->> ->> text text text ->> text text text ->> ->> -> -> -- -> text text -> text text -> text, text -> http://www.example.com -> "text text text!" -> - - --- -text text -text text -text, text -http://www.exmple.com -"text text text!" diff --git a/QuoteParser.Tests/Resources/testEmls/SL/108.eml b/QuoteParser.Tests/Resources/testEmls/SL/108.eml new file mode 100644 index 0000000..3d4fc72 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/108.eml @@ -0,0 +1,46 @@ +Date: Sun, 01 Jun 2014 20:14:46 +0100 +From: X Y +References: +In-Reply-To: +Content-Type: multipart/alternative; + boundary="------------010503080400070209040308" + +This is a multi-part message in MIME format. +--------------010503080400070209040308 +Content-Type: text/plain; charset=UTF-8; format=flowed +Content-Transfer-Encoding: 8bit + +Hi there, + +text text text text text text text text text text text text +text text text text text text text text text text text text text +text text text text text text text. + +text text text text text. text text text text text text text +text text text text text text text text? + +Kind regards, + +- X-Men + +On 12/05/2014 13:00, Professor X wrote: +> On May 12, 2014 4:00:15 PM, another user (*X C*) wrote: +> text text text text text text. +> +> Hello CENSORED, +> +> some text +> +> +> +> +> + + +--------------010503080400070209040308 +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +html + +--------------010503080400070209040308-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/108.txt b/QuoteParser.Tests/Resources/testEmls/SL/108.txt deleted file mode 100644 index a955718..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/108.txt +++ /dev/null @@ -1,23 +0,0 @@ -Hi there, - -text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text. - -text text text text text. text text text text text text text text text text text text text text text? - -Kind regards, - -- X-Men - -On 12/05/2014 13:00, Professor X wrote: -> On May 12, 2014 4:00:15 PM, another user (*X C*) wrote: -> text text text text text text. -> -> Hello CENSORED, -> -> some text -> -> -> -> -> - diff --git a/QuoteParser.Tests/Resources/testEmls/SL/11461.eml b/QuoteParser.Tests/Resources/testEmls/SL/11461.eml new file mode 100644 index 0000000..0e2cf11 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/11461.eml @@ -0,0 +1,69 @@ +References: <40a> + <40> +In-Reply-To: <40> +From: asd asd +Date: Mon, 21 Sep 2015 13:56:18 +0000 +Content-Type: multipart/mixed; boundary=047d7b3a8ca884aefc0520423f0d + +--047d7b3a8ca884aefc0520423f0d +Content-Type: multipart/alternative; boundary=047d7b3a8ca884aef50520423f0b + +--047d7b3a8ca884aef50520423f0b +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +Hi asd, + +text text text text. I've text the text text text text text +text (text text, text and text text text) text no one text. I +text text a "text". text text a text at my text text. + +Do text text text text? + +text, + +text text + +--=20 +text text +text Cid & text GbR +- text text - +text text=C3=9Fe 39 +22345 text + +text: +49 (0)132 / 123 123 12 +text: +49 (0)133 / 123 123 13 +text: n.text@text.org +text: http://text.org + + +text text schrieb am Sa., 19. Sep. +2015 um 12:04 Uhr: + +> ##- Please type your reply above this line -## +> +> text text text texttext +> + +--047d7b3a8ca884aef50520423f0b +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +html + +--047d7b3a8ca884aef50520423f0b-- +--047d7b3a8ca884aefc0520423f0d +Content-Type: image/png; name="uyyy.PNG" +Content-Disposition: attachment; filename="yyty.PNG" +Content-Transfer-Encoding: base64 +X-Attachment-Id: 14ff030dd6b76f4ee111 + +asdasd +--047d7b3a8ca884aefc0520423f0d +Content-Type: image/png; name="tyty.PNG" +Content-Disposition: attachment; filename="tyyt.PNG" +Content-Transfer-Encoding: base64 +X-Attachment-Id: 14ff030dd7d309f980e2 + +asdasdasdasda +--047d7b3a8ca884aefc0520423f0d-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/11461.txt b/QuoteParser.Tests/Resources/testEmls/SL/11461.txt deleted file mode 100644 index a2a7039..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/11461.txt +++ /dev/null @@ -1,32 +0,0 @@ -Hi asd, - -text text text text. I've text the text text text text text -text (text text, text and text text text) text no one text. I -text text a "text". text text a text at my text text. - -Do text text text text? - -text, - -text text - --- -text text -text Cid & text GbR -- text text - -text textße 39 -22345 text - -text: +49 (0)132 / 123 123 12 -text: +49 (0)133 / 123 123 13 -text: n.text@text.org -text: http://text.org - - -text text schrieb am Sa., 19. Sep. -2015 um 12:04 Uhr: - -> ##- Please type your reply above this line -## -> -> text text text texttext -> diff --git a/QuoteParser.Tests/Resources/testEmls/SL/17444.eml b/QuoteParser.Tests/Resources/testEmls/SL/17444.eml new file mode 100644 index 0000000..f765251 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/17444.eml @@ -0,0 +1,29 @@ +Date: Thu, 22 Oct 2015 21:03:35 +0100 +From: "qwe qwe" +Content-Type: text/plain; charset=Windows-874 +Content-Transfer-Encoding: quoted-printable +Content-Disposition: inline + +I text text text text/text of text text text 2 text. +text text text text, text text text any urgent text, = +text I text text to text text as text as text on my text. +text text. + +text.text@text.text.text.uk +text text +text text - Training=20 +text text +NHS text text +VC: text.text@text.text.text.uk + http://www.text.asd.aasd.uk/asd +text 0123 132 1233 +text 12312 123123 +=20 +text: 0123 123 1212 +=20 +=20 + +>>> text text 10/22/15 = +21:02 >>> + +text text text text text text text text. diff --git a/QuoteParser.Tests/Resources/testEmls/SL/17444.txt b/QuoteParser.Tests/Resources/testEmls/SL/17444.txt deleted file mode 100644 index b010181..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/17444.txt +++ /dev/null @@ -1,21 +0,0 @@ -I text text text text/text of text text text 2 text. -text text text text, text text text any urgent text, text I text text to text text as text as text on my text. -text text. - -text.text@text.text.text.uk -text text -text text - Training -text text -NHS text text -VC: text.text@text.text.text.uk - http://www.text.asd.aasd.uk/asd -text 0123 132 1233 -text 12312 123123 - -text: 0123 123 1212 - - - ->>> text text 10/22/15 21:02 >>> - -text text text text text text text text. diff --git a/QuoteParser.Tests/Resources/testEmls/SL/17949.eml b/QuoteParser.Tests/Resources/testEmls/SL/17949.eml new file mode 100644 index 0000000..dd7f7ba --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/17949.eml @@ -0,0 +1,71 @@ +From: asd asd +Date: Tue, 3 Nov 2015 19:39:59 +0000 +Message-ID: +References: <1RR> +In-Reply-To: <1RR> +Accept-Language: en-US +Content-Language: en-US +Content-Type: multipart/alternative; + boundary="_000_FBA4BF080CA64AEB96877BFC133A7617levelupdevelopmentcom_" + +--_000_FBA4BF080CA64AEB96877BFC133A7617levelupdevelopmentcom_ +Content-Type: text/plain; charset="us-ascii" +Content-Transfer-Encoding: quoted-printable + +JSON Response 1: + +{ + "text": "text,text", + "text": 0, + "text": 1, + "text": 371, + "text": [ + { + "text": "text,text,text,text,tra= +text,text", + "text": "21212", + "text": "https://text.text.net/text/text/12/text/23= +033", + "text": "text-000" + + } + ] +} + +JSON Response 2: + +[ + { + "text": "https://asd.text.net/asd/asd/01/asd/1", + "text": "The text is text text and text to be text.", + "text": "https://text.text.net/text/text/text= +ses/text.text", + "name": "text", + "text": "1", + "text": { + "text": "https://text.text.text/text/text/2/text= +text/2", + "text": 2, + "text": "text", + "text": "text-text", + "name": "To Do" + } + } +] + +On Nov 2, 2015, at 10:09 AM, text text (text text) > wrote: + +##- Please type your reply above this line -## + +Your request (text) has been text. To add text text, text to = +text text. + +--_000_FBA4BF080CA64AEB96877BFC133A7617levelupdevelopmentcom_ +Content-Type: text/html; charset="us-ascii" +Content-ID: <05D4489E69A0DA45A340072BE638FB09@namprd05.prod.outlook.com> +Content-Transfer-Encoding: quoted-printable + +asd + +--_000_FBA4BF080CA64AEB96877BFC133A7617levelupdevelopmentcom_-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/17949.txt b/QuoteParser.Tests/Resources/testEmls/SL/17949.txt deleted file mode 100644 index bf383cf..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/17949.txt +++ /dev/null @@ -1,42 +0,0 @@ -JSON Response 1: - -{ - "text": "text,text", - "text": 0, - "text": 1, - "text": 371, - "text": [ - { - "text": "text,text,text,text,tratext,text", - "text": "21212", - "text": "https://text.text.net/text/text/12/text/23033", - "text": "text-000" - - } - ] -} - -JSON Response 2: - -[ - { - "text": "https://asd.text.net/asd/asd/01/asd/1", - "text": "The text is text text and text to be text.", - "text": "https://text.text.net/text/text/textses/text.text", - "name": "text", - "text": "1", - "text": { - "text": "https://text.text.text/text/text/2/texttext/2", - "text": 2, - "text": "text", - "text": "text-text", - "name": "To Do" - } - } -] - -On Nov 2, 2015, at 10:09 AM, text text (text text) > wrote: - -##- Please type your reply above this line -## - -Your request (text) has been text. To add text text, text to text text. diff --git a/QuoteParser.Tests/Resources/testEmls/SL/17995.eml b/QuoteParser.Tests/Resources/testEmls/SL/17995.eml new file mode 100644 index 0000000..6bac88e --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/17995.eml @@ -0,0 +1,38 @@ +From: asd + asd +Content-Type: multipart/alternative; boundary="Apple-Mail=_9D5D549B-71EB-4FDE-8E89-55A735EA0310" +Message-Id: +Date: Thu, 5 Nov 2015 13:48:14 +0300 +References: +In-Reply-To: + +--Apple-Mail=_9D5D549B-71EB-4FDE-8E89-55A735EA0310 +Content-Transfer-Encoding: quoted-printable +Content-Type: text/plain; + charset=utf-8 + +Hm=E2=80=A6 I can=E2=80=99t test test test test test:test = +test. Is it test? +test test test test to test. +> 5 =D0=BD=D0=BE=D1=8F=D0=B1. 2015 =D0=B3., =D0=B2 13:37, test test = +(test test) =D0=BD=D0=B0=D0=BF=D0=B8= +=D1=81=D0=B0=D0=BB(=D0=B0): +>=20 +> ##- Please type your reply above this line -## +> Your test (test) has been updated. To add additional comments, = +reply to this email. +>=20 +> =09 +> +> +> +> + +--Apple-Mail=_9D5D549B-71EB-4FDE-8E89-55A735EA0310 +Content-Transfer-Encoding: quoted-printable +Content-Type: text/html; + charset=utf-8 + += + +--Apple-Mail=_9D5D549B-71EB-4FDE-8E89-55A735EA0310-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/17995.txt b/QuoteParser.Tests/Resources/testEmls/SL/17995.txt deleted file mode 100644 index 4ceda09..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/17995.txt +++ /dev/null @@ -1,12 +0,0 @@ -Hm… I can’t test test test test test:test test. Is it test? -test test test test to test. -> 5 нояб. 2015 г., в 13:37, test test (test test) написал(а): -> -> ##- Please type your reply above this line -## -> Your test (test) has been updated. To add additional comments, reply to this email. -> -> -> -> -> -> diff --git a/QuoteParser.Tests/Resources/testEmls/SL/18075.txt b/QuoteParser.Tests/Resources/testEmls/SL/18075.eml similarity index 62% rename from QuoteParser.Tests/Resources/testEmls/SL/18075.txt rename to QuoteParser.Tests/Resources/testEmls/SL/18075.eml index 5d06303..02e8a53 100644 --- a/QuoteParser.Tests/Resources/testEmls/SL/18075.txt +++ b/QuoteParser.Tests/Resources/testEmls/SL/18075.eml @@ -1,3 +1,12 @@ +References: +In-Reply-To: +From: asd asd +Date: Fri, 06 Nov 2015 11:43:44 +0000 +Content-Type: multipart/alternative; boundary=001a1145a96a19f7270523ddc24c + +--001a1145a96a19f7270523ddc24c +Content-Type: text/plain; charset=UTF-8 + Hi asd! I'll asd an asd to asd asd asd: asd! @@ -33,3 +42,11 @@ text.text@text.com> ha scritto: text text text@text.eu + +--001a1145a96a19f7270523ddc24c +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +asdasd + +--001a1145a96a19f7270523ddc24c-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/187.eml b/QuoteParser.Tests/Resources/testEmls/SL/187.eml new file mode 100644 index 0000000..fabb3f5 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/187.eml @@ -0,0 +1,52 @@ +From: SS FF +Content-Type: multipart/alternative; boundary="Apple-Mail=_10105EB8-7BBE-46D2-BCA6-DCCF9FE7BF34" +Date: Thu, 5 Jun 2014 14:52:53 +0400 +References: +In-Reply-To: + + +--Apple-Mail=_10105EB8-7BBE-46D2-BCA6-DCCF9FE7BF34 +Content-Transfer-Encoding: quoted-printable +Content-Type: text/plain; + charset=utf-8 + +CENSORED, + +Looks good. Thanks! + +On 05.=D0=B8=D1=8E=D0=BD=D1=8F.2014, at 14:50, Censored Cen = + wrote: + +> CENSORED +>=20 +> text, text text text text! +> text text text text text text text text text text = +text. +>=20 +> Thank you and apologize once again. +>> In reply to: +>>=20 +>> Hello CENSORED, +>>=20 +>> teeeeeeeext! +>> We're placing teeeext text. +>>=20 +>> Thank you and apologize once again. +> You have received this message because you are a participant of the = +conversation in the CENSORED. Sincerely yours, CENSORED + +-- +Regards, +Mew Mew, +CTO, ItIt, +sdf@sdf.com + + +--Apple-Mail=_10105EB8-7BBE-46D2-BCA6-DCCF9FE7BF34 +Content-Transfer-Encoding: quoted-printable +Content-Type: text/html; + charset=utf-8 + +sdfsdfsdf= + +--Apple-Mail=_10105EB8-7BBE-46D2-BCA6-DCCF9FE7BF34-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/187.txt b/QuoteParser.Tests/Resources/testEmls/SL/187.txt deleted file mode 100644 index 5f160d5..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/187.txt +++ /dev/null @@ -1,28 +0,0 @@ -CENSORED, - -Looks good. Thanks! - -On 05.июня.2014, at 14:50, Censored Cen wrote: - -> CENSORED -> -> text, text text text text! -> text text text text text text text text text text text. -> -> Thank you and apologize once again. ->> In reply to: ->> ->> Hello CENSORED, ->> ->> teeeeeeeext! ->> We're placing teeeext text. ->> ->> Thank you and apologize once again. -> You have received this message because you are a participant of the conversation in the CENSORED. Sincerely yours, CENSORED - --- -Regards, -Mew Mew, -CTO, ItIt, -sdf@sdf.com - diff --git a/QuoteParser.Tests/Resources/testEmls/SL/18762.eml b/QuoteParser.Tests/Resources/testEmls/SL/18762.eml new file mode 100644 index 0000000..00cdfe5 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/18762.eml @@ -0,0 +1,43 @@ +Date: Wed, 11 Nov 2015 14:55:54 +0000 (UTC) +From: asd asd +Message-ID: <108> +In-Reply-To: +References: +Content-Type: multipart/alternative; + boundary="----=_Part_2615041_974986213.1447253754080" +Content-Length: 13652 + +------=_Part_2615041_974986213.1447253754080 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +Hello text. +I was text text to text text. text I've text . . text;s text text.text text= + ? text text text the text text from text ??? text is no text= +text text or text; I;ve text the text . .no text.In text text, so= +text I text text text text text-text text and text text text text= +text text and text . . . text text . =C2=A0.isn't text a text text a= +pp ?=C2=A0So I text to text text text and text all text text= +ed text text.I text text text to text the text and text text of= + text text .msi text text text text text the text text. +text text, text, text me .....text can I text text the text text= + text I'text text text ???text is text a text . . .=C2=A0 +text text text text me text ? +text text text text text, +text,text + +=C2=A0=C2=A0 =C2=A0 =C2=A0=20 + + + On Wednesday, November 11, 2015 2:51 PM, text text (text text= +ack) wrote: + =20 + + asd asd asd asd asd asd asd asd + +------=_Part_2615041_974986213.1447253754080 +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + + +------=_Part_2615041_974986213.1447253754080-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/18762.txt b/QuoteParser.Tests/Resources/testEmls/SL/18762.txt deleted file mode 100644 index 5e96871..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/18762.txt +++ /dev/null @@ -1,15 +0,0 @@ -Hello text. -I was text text to text text. text I've text . . text;s text text.text text ? text text text the text text from text ??? text is no texttext text or text; I;ve text the text . .no text.In text text, sotext I text text text text text-text text and text text text texttext text and text . . . text text .  .isn't text a text text app ? So I text to text text text and text all text texted text text.I text text text to text the text and text text of text text .msi text text text text text the text text. -text text, text, text me .....text can I text text the text text text I'text text text ???text is text a text . . .  -text text text text me text ? -text text text text text, -text,text - -       - - - On Wednesday, November 11, 2015 2:51 PM, text text (text textack) wrote: - - - asd asd asd asd asd asd asd asd - \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/SL/20.eml b/QuoteParser.Tests/Resources/testEmls/SL/20.eml new file mode 100644 index 0000000..66c6d9b --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/20.eml @@ -0,0 +1,37 @@ +In-Reply-To: +References: +Date: Tue, 27 May 2014 12:04:49 +0400 +From: Clark Kent +Content-Type: multipart/alternative; boundary=001a1133182c604a5304fa5d26f0 + +--001a1133182c604a5304fa5d26f0 +Content-Type: text/plain; charset=UTF-8 + +text text text text text text text text text +text text text text text +text text text + + +2014-05-23 16:32 GMT+04:00 catwoman catwoman : + +> Hello, +> +> +> +> text text text text text text text text text +> text text text +> +> +> +> Thanks, +> +> +> + +--001a1133182c604a5304fa5d26f0 +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +some html here + +--001a1133182c604a5304fa5d26f0-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/20.txt b/QuoteParser.Tests/Resources/testEmls/SL/20.txt deleted file mode 100644 index c10b038..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/20.txt +++ /dev/null @@ -1,20 +0,0 @@ -text text text text text text text text text -text text text text text -text text text - - -2014-05-23 16:32 GMT+04:00 catwoman catwoman : - -> Hello, -> -> -> -> text text text text text text text text text -> text text text -> -> -> -> Thanks, -> -> -> diff --git a/QuoteParser.Tests/Resources/testEmls/SL/21086.eml b/QuoteParser.Tests/Resources/testEmls/SL/21086.eml new file mode 100644 index 0000000..4c08aef --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/21086.eml @@ -0,0 +1,52 @@ +References: +From: asd asd +Date: Wed, 16 Mar 2016 10:12:39 +0200 +In-Reply-To: +Content-Type: multipart/alternative; + boundary="------------040909060702020004070705" + +This is a multi-part message in MIME format. +--------------040909060702020004070705 +Content-Type: text/plain; charset=utf-8; format=flowed +Content-Transfer-Encoding: 7bit + +text text SJ text text text text +text text text (text text). + +On Tue, 15 Mar 2016 12:30:19 +0000 + +> text, +> +> text text text text text. +> +> texttextme know if need any further assistance. +> +> text text, +> + +I text text text text text text text in text text + +--------------040909060702020004070705 +Content-Type: multipart/related; + boundary="------------010605090706020707000802" + + +--------------010605090706020707000802 +Content-Type: text/html; charset=utf-8 +Content-Transfer-Encoding: 8bit + + + + +--------------010605090706020707000802 +Content-Type: image/png; + name="asd.png" +Content-Transfer-Encoding: base64 +Content-ID: +Content-Disposition: inline; + filename="asd.png" + +asdasdasd +--------------010605090706020707000802-- + +--------------040909060702020004070705-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/21086.txt b/QuoteParser.Tests/Resources/testEmls/SL/21086.txt deleted file mode 100644 index db1dea3..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/21086.txt +++ /dev/null @@ -1,15 +0,0 @@ -text text SJ text text text text -text text text (text text). - -On Tue, 15 Mar 2016 12:30:19 +0000 - -> text, -> -> text text text text text. -> -> texttextme know if need any further assistance. -> -> text text, -> - -I text text text text text text text in text text diff --git a/QuoteParser.Tests/Resources/testEmls/SL/214.txt b/QuoteParser.Tests/Resources/testEmls/SL/214.eml similarity index 53% rename from QuoteParser.Tests/Resources/testEmls/SL/214.txt rename to QuoteParser.Tests/Resources/testEmls/SL/214.eml index 7ac5978..387c4ff 100644 --- a/QuoteParser.Tests/Resources/testEmls/SL/214.txt +++ b/QuoteParser.Tests/Resources/testEmls/SL/214.eml @@ -1,3 +1,13 @@ +In-Reply-To: +References: <4C> + +Date: Fri, 6 Jun 2014 09:08:45 -0400 +From: Robert Stark +Content-Type: multipart/alternative; boundary=14dae93d9380baa5c504fb2a8fd9 + +--14dae93d9380baa5c504fb2a8fd9 +Content-Type: text/plain; charset=UTF-8 + Hey You, That sounds great! Love the text text text text. @@ -22,3 +32,11 @@ wrote: > > > + +--14dae93d9380baa5c504fb2a8fd9 +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +HTML goes here + +--14dae93d9380baa5c504fb2a8fd9-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/21593.eml b/QuoteParser.Tests/Resources/testEmls/SL/21593.eml new file mode 100644 index 0000000..db83c71 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/21593.eml @@ -0,0 +1,36 @@ +From: asd +Date: Fri, 15 Apr 2016 17:49:43 +0800 +References: + <1E8> + +In-reply-to: +Content-type: multipart/alternative; + boundary="Apple-Mail=_A67445BC-2824-4DE1-B0E7-E36FAAD9F168" + +--Apple-Mail=_A67445BC-2824-4DE1-B0E7-E36FAAD9F168 +Content-Transfer-Encoding: quoted-printable +Content-Type: text/plain; + charset=utf-8 + +I text, text. +> =E5=9C=A8 2016=E5=B9=B44=E6=9C=8815=E6=97=A5=EF=BC=8C17:14=EF=BC=8Ctext= + text (text text) = +=E5=86=99=E9=81=93=EF=BC=9A +>=20 +> ##- Please type your reply above this line -## +> Your request (text) has been updated. Please reply to this email. +> +> +> +> +> +> + +--Apple-Mail=_A67445BC-2824-4DE1-B0E7-E36FAAD9F168 +Content-Transfer-Encoding: quoted-printable +Content-Type: text/html; + charset=utf-8 + += + +--Apple-Mail=_A67445BC-2824-4DE1-B0E7-E36FAAD9F168-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/21593.txt b/QuoteParser.Tests/Resources/testEmls/SL/21593.txt deleted file mode 100644 index b7219fe..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/21593.txt +++ /dev/null @@ -1,11 +0,0 @@ -I text, text. -> 在 2016年4月15日,17:14,text text (text text) 写道: -> -> ##- Please type your reply above this line -## -> Your request (text) has been updated. Please reply to this email. -> -> -> -> -> -> diff --git a/QuoteParser.Tests/Resources/testEmls/SL/245.eml b/QuoteParser.Tests/Resources/testEmls/SL/245.eml new file mode 100644 index 0000000..98bd7ad --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/245.eml @@ -0,0 +1,90 @@ +Date: Mon, 09 Jun 2014 18:47:38 +0100 +From: Xxxx Yyyy +References: <53> +In-Reply-To: +Content-Type: multipart/alternative; + boundary="------------090906000807000806090401" + +This is a multi-part message in MIME format. +--------------090906000807000806090401 +Content-Type: text/plain; charset=UTF-8; format=flowed +Content-Transfer-Encoding: 7bit + +Hi CENSORED, + +So the text is taken from the text (text text text text text +texttexttext text text text text text text text text) wtf.py remains as the +same on https://example.com/example/e-xa-m-ple + +Specifically: + +> def _qwerty(self, dfg, curl, ggg=ggg, ignoreStatus=None): +> vvvvvvv = self.vvvvvv +> if dfg == 'BBB' or dfg == 'AAAA': +> vvvvv = vvvvv.copy() +> vvvvv['Content-Type'] = 'application/xml; charset=UTF-8' +> vvvvv['Content-Length'] = str(len(ggg)) if ggg else '0' +> +> xxx, bbb = main.http2.delete((self.Censored + +> curl).encode('utf-8'), dfg, vvvvvv=vvvvv, ggg=ggg) +> if xxx.item != 200 and xxx.head != 201 and +> (ignoreStatus != xxx.this): +> raise this.Exception(curl, bbb) +> +> #print xxx +> +> return xxx, ghj + +As you say text. I presume that texttext text call self._login() to text. +Is the text text by text? + +Kind regards, + +- CENSORED + + +On 02/06/2014 11:34, Wonder Woman wrote: +> Hi, +> No, text text text text 404 text text text +> text. +> +> +> 2014-06-02 14:00 GMT+04:00 Wonder Man >: +> +> Hi CENSORED, +> +> text text text text text text. +> text text text text text. +> +> - CENSORED +> +> -- +> Best regards, +> Wonder Woman +> QA Engineer +> WW Company +> http://www.example.com +> "Be wonder!" + + +--------------090906000807000806090401 +Content-Type: multipart/related; + boundary="------------080203010502070607090501" + + +--------------080203010502070607090501 +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +xyz + +--------------080203010502070607090501 +Content-Type: image/jpeg +Content-Transfer-Encoding: base64 +Content-ID: + +asdasd +--------------080203010502070607090501-- + +--------------090906000807000806090401-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/245.txt b/QuoteParser.Tests/Resources/testEmls/SL/245.txt deleted file mode 100644 index e5ef89a..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/245.txt +++ /dev/null @@ -1,49 +0,0 @@ -Hi CENSORED, - -So the text is taken from the text (text text text text text texttexttext text text text text text text text text) wtf.py remains as the same on https://example.com/example/e-xa-m-ple - -Specifically: - -> def _qwerty(self, dfg, curl, ggg=ggg, ignoreStatus=None): -> vvvvvvv = self.vvvvvv -> if dfg == 'BBB' or dfg == 'AAAA': -> vvvvv = vvvvv.copy() -> vvvvv['Content-Type'] = 'application/xml; charset=UTF-8' -> vvvvv['Content-Length'] = str(len(ggg)) if ggg else '0' -> -> xxx, bbb = main.http2.delete((self.Censored + curl).encode('utf-8'), dfg, vvvvvv=vvvvv, ggg=ggg) -> if xxx.item != 200 and xxx.head != 201 and (ignoreStatus != xxx.this): -> raise this.Exception(curl, bbb) -> -> #print xxx -> -> return xxx, ghj - -As you say text. I presume that texttext text call self._login() to text. Is the text text by text? - -Kind regards, - -- CENSORED - - -On 02/06/2014 11:34, Wonder Woman wrote: -> Hi, -> No, text text text text 404 text text text text. -> -> -> 2014-06-02 14:00 GMT+04:00 Wonder Man >: -> -> Hi CENSORED, -> -> text text text text text text. -> text text text text text. -> -> - CENSORED -> -> -- Best regards, -> Wonder Woman -> QA Engineer -> WW Company -> http://www.example.com -> "Be wonder!" - diff --git a/QuoteParser.Tests/Resources/testEmls/SL/259.eml b/QuoteParser.Tests/Resources/testEmls/SL/259.eml new file mode 100644 index 0000000..067032d --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/259.eml @@ -0,0 +1,85 @@ +Date: Tue, 10 Jun 2014 18:06:26 +0200 +From: Xxxx Yyyy +References: <15> +In-Reply-To: +Content-Type: multipart/alternative; + boundary="------------040801010404070404010909" + +This is a multi-part message in MIME format. +--------------040801010404070404010909 +Content-Type: text/plain; charset=UTF-8; format=flowed +Content-Transfer-Encoding: 8bit + +Hi CENSORED, + +Let me clarify. + +text text text text text text text text text text text text text +text text text: forum, CENSORED, contact form and, I text +text, the text text text. + +I text that it text text text to text text in the text, text +text/text to CENSORED and text text text via text +form/text text. +Or text text text via CENSORED, text text text it's way text. + +text text text text text text text text text text text text text +text text text text text text text text text text text text text +text text text text text text text text text text text text text +"text text text text text text text you've text", text of +text a text 5 text text any text: at text I text text yu text +text text text text that text text text didn't text or text it. + +text text text text text text text text text text text text text +text text text text text of text CENSORED text: text text text text, +that's text text text text text text. + +Thank you and kind regards, +-- +------------------------------------------------------------------------ +*Mister Resistor* +Web & Software Developer +@ Mister@Resistor.eu +✆ +39 222 3215548 +✆ Mister.Resistor (skype) +------------------------------------------------------------------------ + + +> Capitan America +> 10 Jun 2014 17:49 +> Hello Mister, +> +> Thank you for your feedback. +> +> +> +> -- +> Capitan America +> Avengers engineer +> Avengers, Inc +> http://www.example.com +> "Save the world!" + +--------------040801010404070404010909 +Content-Type: multipart/related; + boundary="------------010004020708000607070903" + + +--------------010004020708000607070903 +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +sdfsdfsdf + +--------------010004020708000607070903 +Content-Type: image/jpeg; x-apple-mail-type=stationery; + name="asd-asd-asd.jpg" +Content-Transfer-Encoding: base64 +Content-ID: +Content-Disposition: inline; + filename="sdf-sdf-sdf.jpg" + +asdasdasd +--------------010004020708000607070903-- + +--------------040801010404070404010909-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/259.txt b/QuoteParser.Tests/Resources/testEmls/SL/259.txt deleted file mode 100644 index c7a44df..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/259.txt +++ /dev/null @@ -1,41 +0,0 @@ -Hi CENSORED, - -Let me clarify. - -text text text text text text text text text text text text text -text text text: forum, CENSORED, contact form and, I text text, the text text text. - -I text that it text text text to text text in the text, text text/text to CENSORED and text text text via text form/text text. -Or text text text via CENSORED, text text text it's way text. - -text text text text text text text text text text text text text -text text text text text text text text text text text text text -text text text text text text text text text text text text text -"text text text text text text text you've text", text of text a text 5 text text any text: at text I text text yu text text text text text that text text text didn't text or text it. - -text text text text text text text text text text text text text -text text text text text of text CENSORED text: text text text text, that's text text text text text text. - -Thank you and kind regards, --- ------------------------------------------------------------------------ -*Mister Resistor* -Web & Software Developer -@ Mister@Resistor.eu -✆ +39 222 3215548 -✆ Mister.Resistor (skype) ------------------------------------------------------------------------- - - -> Capitan America -> 10 Jun 2014 17:49 -> Hello Mister, -> -> Thank you for your feedback. -> -> -> -> -- Capitan America -> Avengers engineer -> Avengers, Inc -> http://www.example.com -> "Save the world!" diff --git a/QuoteParser.Tests/Resources/testEmls/SL/26.txt b/QuoteParser.Tests/Resources/testEmls/SL/26.eml similarity index 67% rename from QuoteParser.Tests/Resources/testEmls/SL/26.txt rename to QuoteParser.Tests/Resources/testEmls/SL/26.eml index 2c24d52..433cee0 100644 --- a/QuoteParser.Tests/Resources/testEmls/SL/26.txt +++ b/QuoteParser.Tests/Resources/testEmls/SL/26.eml @@ -1,3 +1,12 @@ +In-Reply-To: +References: +Date: Tue, 27 May 2014 13:09:23 +0200 +From: x y z c +Content-Type: multipart/alternative; boundary=001a11347c826ff86a04fa5fbac3 + +--001a11347c826ff86a04fa5fbac3 +Content-Type: text/plain; charset=UTF-8 + Dear INSERT_YOUR_NAME, text text text text text text text text text text text text @@ -36,3 +45,11 @@ who@is.com>: > ##- Please type your reply above this line -## > > some text + +--001a11347c826ff86a04fa5fbac3 +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +html goes here + +--001a11347c826ff86a04fa5fbac3-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/3711.txt b/QuoteParser.Tests/Resources/testEmls/SL/3711.eml similarity index 53% rename from QuoteParser.Tests/Resources/testEmls/SL/3711.txt rename to QuoteParser.Tests/Resources/testEmls/SL/3711.eml index a53146d..3b706a0 100644 --- a/QuoteParser.Tests/Resources/testEmls/SL/3711.txt +++ b/QuoteParser.Tests/Resources/testEmls/SL/3711.eml @@ -1,3 +1,14 @@ +Date: Mon, 17 Nov 2014 13:53:09 -0800 +From: asd asd +In-Reply-To: +References: <20> <14> +Content-Type: multipart/alternative; + boundary="----=_Part_327693_146042776.1416261189157" + +------=_Part_327693_146042776.1416261189157 +Content-Type: text/plain; charset="UTF-8" +Content-Transfer-Encoding: 7bit + Hello Text, Text, we Text Text to Text our Text Text, Text Text for Text Text Text. @@ -35,3 +46,10 @@ Text Text, Text Text + +------=_Part_327693_146042776.1416261189157 +Content-Type: text/html; charset="UTF-8" +Content-Transfer-Encoding: quoted-printable + + +------=_Part_327693_146042776.1416261189157-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/374.eml b/QuoteParser.Tests/Resources/testEmls/SL/374.eml new file mode 100644 index 0000000..c3050b8 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/374.eml @@ -0,0 +1,60 @@ +In-Reply-To: +References: <23> + +Date: Tue, 17 Jun 2014 19:42:55 +0200 +From: asdasd +Content-Type: multipart/alternative; boundary=089e0149c5948375c704fc0bac5a + +--089e0149c5948375c704fc0bac5a +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +Yes, text text text text text text text. + + + +Am Dienstag, 17. Juni 2014 schrieb Xxx Yyyy : + +> CENSORED, +> +> text text text text text text text. +> text, text 'text' text text text text text text associate= +d +> text text text. +> +> Thank you. +> +> In reply to: +> +> +> Hello CENSORED, +> +> the text text text: +> +> *http://example.example.com/example +> * +> +> +> +> ___________________________ +> CENSORED L=C3=BClsasdas +> text-text +> text@text.de +> +> + + + +--=20 +___________________________ +CENSORED L=C3=BClssdd +text-text +text@text.de + +--089e0149c5948375c704fc0bac5a +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +html + +--089e0149c5948375c704fc0bac5a-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/374.txt b/QuoteParser.Tests/Resources/testEmls/SL/374.txt deleted file mode 100644 index 57c3f3e..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/374.txt +++ /dev/null @@ -1,40 +0,0 @@ -Yes, text text text text text text text. - - - -Am Dienstag, 17. Juni 2014 schrieb Xxx Yyyy : - -> CENSORED, -> -> text text text text text text text. -> text, text 'text' text text text text text text associated -> text text text. -> -> Thank you. -> -> In reply to: -> -> -> Hello CENSORED, -> -> the text text text: -> -> *http://example.example.com/example -> * -> -> -> -> ___________________________ -> CENSORED Lülsasdas -> text-text -> text@text.de -> -> - - - --- -___________________________ -CENSORED Lülssdd -text-text -text@text.de diff --git a/QuoteParser.Tests/Resources/testEmls/SL/3997.eml b/QuoteParser.Tests/Resources/testEmls/SL/3997.eml new file mode 100644 index 0000000..01c60ce --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/3997.eml @@ -0,0 +1,55 @@ +From: asd +Date: Wed, 26 Nov 2014 04:44:11 +0000 +References: <35>, +In-Reply-To: +Content-Type: multipart/alternative; + boundary="_000_0541E2CE51C4411F9789CA547D9E6C29vvainformatiseringnl_" + +--_000_0541E2CE51C4411F9789CA547D9E6C29vvainformatiseringnl_ +Content-Type: text/plain; charset="Windows-1252" +Content-Transfer-Encoding: quoted-printable + +text, + +text you text text. + +text, +text + + + +Op 25 nov. 2014 om 18:44 heeft text text > het volgende geschreven: + +text, + +text you for text us! +text text has text text text. + +text for the text. +text text text if text any text text. +In reply to: + +text I text to text text for exmpla.example.com, I text the text text: + +HTTP ERROR 500 +text text /text/text/text. text +text text text + +So I text use text. text is text text? + +=97 +text: text text X +text: text +text text text this text text text text a text of the convers= +ation in text text text-8674. text text, text + +--_000_0541E2CE51C4411F9789CA547D9E6C29vvainformatiseringnl_ +Content-Type: text/html; charset="Windows-1252" +Content-Transfer-Encoding: quoted-printable + + + + +--_000_0541E2CE51C4411F9789CA547D9E6C29vvainformatiseringnl_-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/3997.txt b/QuoteParser.Tests/Resources/testEmls/SL/3997.txt deleted file mode 100644 index bea3179..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/3997.txt +++ /dev/null @@ -1,32 +0,0 @@ -text, - -text you text text. - -text, -text - - - -Op 25 nov. 2014 om 18:44 heeft text text > het volgende geschreven: - -text, - -text you for text us! -text text has text text text. - -text for the text. -text text text if text any text text. -In reply to: - -text I text to text text for exmpla.example.com, I text the text text: - -HTTP ERROR 500 -text text /text/text/text. text -text text text - -So I text use text. text is text text? - -— -text: text text X -text: text -text text text this text text text text a text of the conversation in text text text-8674. text text, text diff --git a/QuoteParser.Tests/Resources/testEmls/SL/4008.eml b/QuoteParser.Tests/Resources/testEmls/SL/4008.eml new file mode 100644 index 0000000..620ad1e --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/4008.eml @@ -0,0 +1,83 @@ +From: sdf sdf +Content-Type: multipart/alternative; boundary="Apple-Mail=_E2DBC586-C87C-4D23-B26C-CD1EF514D12E" +Date: Wed, 26 Nov 2014 13:25:31 +0100 +References: +In-Reply-To: + +--Apple-Mail=_E2DBC586-C87C-4D23-B26C-CD1EF514D12E +Content-Transfer-Encoding: quoted-printable +Content-Type: text/plain; + charset=utf-8 + +Hello text, + +text text is text. + +text text! + + text text +text ds. text=C5=BCy i obs=C5=82ugi text ++48 123 123 123 + +E-mail: m.text@text.pl=20 +Skype: m.text.text + =20 + + + + + + + + + + + + +Wiadomo=C5=9B=C4=87 napisana przez text text = + w dniu 25 lis 2014, o godz. 21:44: + +> Hello text, +>=20 +> text text text be text text. +> text, text it text and text me text if the text text. +>=20 +> text text. +>> In reply to: +>>=20 +>> text text, +>>=20 +>> text text for text text! +>> We're text the text text text. +>>=20 +>> text text the text. +> text text text text text text text are a text of the = +text in the text text-8679. text text, text + + +--Apple-Mail=_E2DBC586-C87C-4D23-B26C-CD1EF514D12E +Content-Type: multipart/related; + type="text/html"; + boundary="Apple-Mail=_7A9506CA-C3BE-42CA-B219-E293EA6B5D8D" + + +--Apple-Mail=_7A9506CA-C3BE-42CA-B219-E293EA6B5D8D +Content-Transfer-Encoding: quoted-printable +Content-Type: text/html; + charset=utf-8 + += + +--Apple-Mail=_7A9506CA-C3BE-42CA-B219-E293EA6B5D8D +Content-Transfer-Encoding: base64 +Content-Disposition: inline; + filename=sdf.gif +Content-Type: image/gif; + name="sdf.gif" +Content-Id: + +texttext + +--Apple-Mail=_7A9506CA-C3BE-42CA-B219-E293EA6B5D8D-- + +--Apple-Mail=_E2DBC586-C87C-4D23-B26C-CD1EF514D12E-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/4008.txt b/QuoteParser.Tests/Resources/testEmls/SL/4008.txt deleted file mode 100644 index 55b8f88..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/4008.txt +++ /dev/null @@ -1,43 +0,0 @@ -Hello text, - -text text is text. - -text text! - - text text -text ds. textży i obsługi text -+48 123 123 123 - -E-mail: m.text@text.pl -Skype: m.text.text - - - - - - - - - - - - - -Wiadomość napisana przez text text w dniu 25 lis 2014, o godz. 21:44: - -> Hello text, -> -> text text text be text text. -> text, text it text and text me text if the text text. -> -> text text. ->> In reply to: ->> ->> text text, ->> ->> text text for text text! ->> We're text the text text text. ->> ->> text text the text. -> text text text text text text text are a text of the text in the text text-8679. text text, text - diff --git a/QuoteParser.Tests/Resources/testEmls/SL/4169.eml b/QuoteParser.Tests/Resources/testEmls/SL/4169.eml new file mode 100644 index 0000000..0bbad35 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/4169.eml @@ -0,0 +1,106 @@ +Date: Mon, 01 Dec 2014 13:48:44 +0100 +From: asd asd +References: <307> +In-Reply-To: +Content-Type: multipart/alternative; + boundary="------------090803050502000801040003" + +This is a multi-part message in MIME format. +--------------090803050502000801040003 +Content-Type: text/plain; charset=utf-8; format=flowed +Content-Transfer-Encoding: 8bit + + +Am 01.12.2014 um 11:23 schrieb text text: +> Hello text, + +Hi text! +> +> text you text text us! +> +> text, text to: https://exmpl.example.com/asd +> (in text of text +> text text text text text) +> text in text text text. +> text to /text, text text text> Add to "text text" text +> text text: +> https://exmpl.example.com/asd +> +> https://exmpl.example.com/asd +> +> https://exmpl.example.com/asd +> +> https://exmpl.example.com/asd +> +> https://exmpl.example.com/asd +> +> text, and text to text in text +> https://exmpl.example.com/asd +> + +text for text text text. + +The text text text set. So, text text text we text text text +text text text text, e.g. for text text text. + +text, text text it text text text. Was the text SSL text +we text text text 5 text text text 6? + +text text + + text + +> +> text me text text the text text. +> +> On 1 December 2014 at 12:53, text text > wrote: +> +> We can't access our text in text at +> https://text.text.com. We are text text text. We +> text to text text, text, it text text. No text text +> text get text to the the text. text text? text text we text? +> +> --- +> OS: Other +> Build: Not accessable (see above) +> +> +> +> +> -- +> text text +> text text +> text, text +> http://www.text.com +> "text text text!" + +-- +_____________________________________ + +text. text text +text text +text 65b +D-33221 text + +email text.text@text.biz + text.text@text.de +URL http://www.text.biz/ + http://www.text.de +Fon ++49 (5251) 12345 +Fax ++49 (3212) 1123456 +Mobile ++49 (178) 1234567 + +text: text text, HRB 6333 +Geschäftsführer: Dr. text text +_____________________________________ + + +--------------090803050502000801040003 +Content-Type: text/html; charset=utf-8 +Content-Transfer-Encoding: 8bit + + + + +--------------090803050502000801040003-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/4169.txt b/QuoteParser.Tests/Resources/testEmls/SL/4169.txt deleted file mode 100644 index 4dea0aa..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/4169.txt +++ /dev/null @@ -1,70 +0,0 @@ - -Am 01.12.2014 um 11:23 schrieb text text: -> Hello text, - -Hi text! -> -> text you text text us! -> -> text, text to: https://exmpl.example.com/asd (in text of text text text text text text) -> text in text text text. -> text to /text, text text text> Add to "text text" text text text: -> https://exmpl.example.com/asd -> https://exmpl.example.com/asd -> https://exmpl.example.com/asd -> https://exmpl.example.com/asd -> https://exmpl.example.com/asd -> text, and text to text in text https://exmpl.example.com/asd - -text for text text text. - -The text text text set. So, text text text we text text text text text text text, e.g. for text text text. - -text, text text it text text text. Was the text SSL text we text text text 5 text text text 6? - -text text - - text - -> -> text me text text the text text. -> -> On 1 December 2014 at 12:53, text text > wrote: -> -> We can't access our text in text at -> https://text.text.com. We are text text text. We -> text to text text, text, it text text. No text text -> text get text to the the text. text text? text text we text? -> -> --- -> OS: Other -> Build: Not accessable (see above) -> -> -> -> -> -- text text -> text text -> text, text -> http://www.text.com -> "text text text!" - --- _____________________________________ - -text. text text -text text -text 65b -D-33221 text - -email text.text@text.biz - text.text@text.de -URL http://www.text.biz/ - http://www.text.de -Fon ++49 (5251) 12345 -Fax ++49 (3212) 1123456 -Mobile ++49 (178) 1234567 - -text: text text, HRB 6333 -Geschäftsführer: Dr. text text -_____________________________________ - diff --git a/QuoteParser.Tests/Resources/testEmls/SL/427.eml b/QuoteParser.Tests/Resources/testEmls/SL/427.eml new file mode 100644 index 0000000..6c853b8 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/427.eml @@ -0,0 +1,54 @@ +From: Tim Cook +Date: Fri, 20 Jun 2014 15:55:46 +0000 +References: + +In-Reply-To: +Content-Type: multipart/alternative; + boundary="_000_CFC9D143196F6agougnecdmworldagencycom_" + +--_000_CFC9D143196F6agougnecdmworldagencycom_ +Content-Type: text/plain; charset=WINDOWS-1252 +Content-Transfer-Encoding: quoted-printable + +Hi Censored, + +text I text my text text@text.com text text text text = +text text text text. text it text I text text text text? text I text I do = +to text text text text I text to text text text and text? I text text un= +text text as =AB gjhgh =BB and text text text text text I don=92t text the = +text text. + +Thank you. + +text + +-Original Message-On 20/06/2014 11:40 AM, "Xxxxx Yyyyy" > wrote: + +Hello CENSORED, + +text text as text text text, 'text' text, text is text text text, text= + to text text text. +text text text text text, text text text text the text text as text text ac= +text text, text text text text? + +Thank you. +In reply to: + + +Hi there, + +text text text text text. + + +--_000_CFC9D143196F6agougnecdmworldagencycom_ +Content-Type: text/html; charset=WINDOWS-1252 +Content-ID: <65F1C02B3C177B4B80043F595B9D9A92@ssdf.pvt> +Content-Transfer-Encoding: quoted-printable + +sdfsdf + + + +--_000_CFC9D143196F6agougnecdmworldagencycom_-- + diff --git a/QuoteParser.Tests/Resources/testEmls/SL/427.txt b/QuoteParser.Tests/Resources/testEmls/SL/427.txt deleted file mode 100644 index 4cc3712..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/427.txt +++ /dev/null @@ -1,23 +0,0 @@ -Hi Censored, - -text I text my text text@text.com text text text text text text text text. text it text I text text text text? text I text I do to text text text text I text to text text text and text? I text text untext text as « gjhgh » and text text text text text I don’t text the text text. - -Thank you. - -text - --Original Message-On 20/06/2014 11:40 AM, "Xxxxx Yyyyy" > wrote: - -Hello CENSORED, - -text text as text text text, 'text' text, text is text text text, text to text text text. -text text text text text, text text text text the text text as text text actext text, text text text text? - -Thank you. -In reply to: - - -Hi there, - -text text text text text. - diff --git a/QuoteParser.Tests/Resources/testEmls/SL/484.eml b/QuoteParser.Tests/Resources/testEmls/SL/484.eml new file mode 100644 index 0000000..0ffbfd7 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/484.eml @@ -0,0 +1,33 @@ +In-Reply-To: +References: <25> + +Date: Wed, 25 Jun 2014 18:13:22 +0300 +From: Yyyyy Mmmmo +Content-Type: multipart/alternative; boundary=001a11360010628b5e04fcaa844b + +--001a11360010628b5e04fcaa844b +Content-Type: text/plain; charset=UTF-8 + +Thank you. I text text text text text. text I don't text an text +to text text text, text "text text" text my text text. +On Jun 25, 2014 5:51 PM, "Harry Potter" +wrote: + +> Hello Yyyyy, +> +> Thank you for text text! +> text, text to text text +> , +> text text is vtext in text text. +> +> +> +> + +--001a11360010628b5e04fcaa844b +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +sdfsdfsdf + +--001a11360010628b5e04fcaa844b-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/484.txt b/QuoteParser.Tests/Resources/testEmls/SL/484.txt deleted file mode 100644 index 74f08f3..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/484.txt +++ /dev/null @@ -1,15 +0,0 @@ -Thank you. I text text text text text. text I don't text an text -to text text text, text "text text" text my text text. -On Jun 25, 2014 5:51 PM, "Harry Potter" -wrote: - -> Hello Yyyyy, -> -> Thank you for text text! -> text, text to text text -> , -> text text is vtext in text text. -> -> -> -> diff --git a/QuoteParser.Tests/Resources/testEmls/SL/599.txt b/QuoteParser.Tests/Resources/testEmls/SL/599.eml similarity index 60% rename from QuoteParser.Tests/Resources/testEmls/SL/599.txt rename to QuoteParser.Tests/Resources/testEmls/SL/599.eml index 522b812..057e19e 100644 --- a/QuoteParser.Tests/Resources/testEmls/SL/599.txt +++ b/QuoteParser.Tests/Resources/testEmls/SL/599.eml @@ -1,3 +1,14 @@ +Content-Type: multipart/alternative; + boundary="=_de429ca3d0871ef0b2b1e37865cbd8b6" +Date: Tue, 01 Jul 2014 10:43:19 +0200 +From: dfgdfg dfgdfg +In-Reply-To: +References: + +--=_de429ca3d0871ef0b2b1e37865cbd8b6 +Content-Transfer-Encoding: 7bit +Content-Type: text/plain; charset=UTF-8 + Oh, text text. @@ -47,3 +58,12 @@ text text? > text text text text text text you are a text of the text in the text text-6831. text text, text + +--=_de429ca3d0871ef0b2b1e37865cbd8b6 +Content-Transfer-Encoding: quoted-printable +Content-Type: text/html; charset=UTF-8 + +asd + +--=_de429ca3d0871ef0b2b1e37865cbd8b6-- + diff --git a/QuoteParser.Tests/Resources/testEmls/SL/704.eml b/QuoteParser.Tests/Resources/testEmls/SL/704.eml new file mode 100644 index 0000000..5500c4d --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/704.eml @@ -0,0 +1,42 @@ +References: +From: asd +Content-Type: multipart/alternative; + boundary=Apple-Mail-FDA52878-0B63-43D4-8F27-95A9FCF8A148 +In-Reply-To: +Date: Thu, 3 Jul 2014 20:28:53 +0200 + + +--Apple-Mail-FDA52878-0B63-43D4-8F27-95A9FCF8A148 +Content-Type: text/plain; + charset=utf-8 +Content-Transfer-Encoding: quoted-printable + +Hello CENS ( it seems that we have same name :-) ) + +Im text to text text text text has text text and text. text you a text. + +text text +text + +Dnia 3 lip 2014 o godz. 19:33 text text = + napisa=C5=82(a): + +> Hello text, +>=20 +> text text text. +> text text the text and text text to text it. The text text be text text= +row, so you'll be text to text text text text text text text and= + text it on text text text. +>=20 +> text text and text text our text text the text text again= +! + + +--Apple-Mail-FDA52878-0B63-43D4-8F27-95A9FCF8A148 +Content-Type: text/html; + charset=utf-8 +Content-Transfer-Encoding: quoted-printable + +asdasd= + +--Apple-Mail-FDA52878-0B63-43D4-8F27-95A9FCF8A148-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/704.txt b/QuoteParser.Tests/Resources/testEmls/SL/704.txt deleted file mode 100644 index 78a355b..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/704.txt +++ /dev/null @@ -1,16 +0,0 @@ -Hello CENS ( it seems that we have same name :-) ) - -Im text to text text text text has text text and text. text you a text. - -text text -text - -Dnia 3 lip 2014 o godz. 19:33 text text napisał(a): - -> Hello text, -> -> text text text. -> text text the text and text text to text it. The text text be text textrow, so you'll be text to text text text text text text text and text it on text text text. -> -> text text and text text our text text the text text again! - diff --git a/QuoteParser.Tests/Resources/testEmls/SL/75.eml b/QuoteParser.Tests/Resources/testEmls/SL/75.eml new file mode 100644 index 0000000..d5e2bbd --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/75.eml @@ -0,0 +1,46 @@ +Date: Thu, 29 May 2014 10:09:57 -0500 +From: Ghj Jlkj +In-Reply-To: +References: +Content-Type: multipart/alternative; boundary="53874dc5_238e1f29_b5d" + +--53874dc5_238e1f29_b5d +Content-Type: text/plain; charset="utf-8" +Content-Transfer-Encoding: quoted-printable +Content-Disposition: inline + +Thor, looks like this issue has been fixed. We=E2=80=99re still waiting= + text text text text text text text text text text text . + +--=C2=A0 +X Y +https://example.com +654-401-8599 x523 + +On May 29, 2014 at 10:01:16 AM, Xxxx Yyyy (asdasd=40asdads= +asd.cd) wrote: + +Hello CENSORED, + +Thank you for contacting us=21 + +Please, clarify text text text text. + +text text text text text. + +Thank you. +In reply to: + +Hello CENSORED, + +CENSOREDCENSOREDCENSOREDCENSOREDCENSOREDCENSOREDCENSOREDCENSOREDCENSORED= +text text text. + +--53874dc5_238e1f29_b5d +Content-Type: text/html; charset="utf-8" +Content-Transfer-Encoding: quoted-printable +Content-Disposition: inline + +html +--53874dc5_238e1f29_b5d-- + diff --git a/QuoteParser.Tests/Resources/testEmls/SL/75.txt b/QuoteParser.Tests/Resources/testEmls/SL/75.txt deleted file mode 100644 index fc38411..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/75.txt +++ /dev/null @@ -1,23 +0,0 @@ -Thor, looks like this issue has been fixed. We’re still waiting text text text text text text text text text text text . - ---  -X Y -https://example.com -654-401-8599 x523 - -On May 29, 2014 at 10:01:16 AM, Xxxx Yyyy (asdasd@asdadsasd.cd) wrote: - -Hello CENSORED, - -Thank you for contacting us! - -Please, clarify text text text text. - -text text text text text. - -Thank you. -In reply to: - -Hello CENSORED, - -CENSOREDCENSOREDCENSOREDCENSOREDCENSOREDCENSOREDCENSOREDCENSOREDCENSOREDtext text text. diff --git a/QuoteParser.Tests/Resources/testEmls/SL/800.txt b/QuoteParser.Tests/Resources/testEmls/SL/800.eml similarity index 53% rename from QuoteParser.Tests/Resources/testEmls/SL/800.txt rename to QuoteParser.Tests/Resources/testEmls/SL/800.eml index 10646dd..26222b6 100644 --- a/QuoteParser.Tests/Resources/testEmls/SL/800.txt +++ b/QuoteParser.Tests/Resources/testEmls/SL/800.eml @@ -1,3 +1,14 @@ +In-Reply-To: +References: + +From: asd asd +Date: Thu, 10 Jul 2014 12:15:14 +0200 +Content-Type: multipart/alternative; boundary=047d7b677a1a04d23d04fdd41b03 + +--047d7b677a1a04d23d04fdd41b03 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + Hello! I've text a text text text. It text text the text text text @@ -10,10 +21,12 @@ text, text -2014-07-10 12:13 GMT+02:00 asd asd +2014-07-10 12:13 GMT+02:00 asd asd : -> But it's 2nd of text. I text it text - the text is in text texts +> But it's 2nd of text. I text it text - the text is in text text= +s > text text. > > text, @@ -22,10 +35,18 @@ text --- +--=20 text.-Ing. text text text | text of text text text | text us at text.com E-text: text.text@text.com text: +43 (0) 660 123 12 12 | text: @text + +--047d7b677a1a04d23d04fdd41b03 +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +sdfsdf + +--047d7b677a1a04d23d04fdd41b03-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/880.txt b/QuoteParser.Tests/Resources/testEmls/SL/880.eml similarity index 66% rename from QuoteParser.Tests/Resources/testEmls/SL/880.txt rename to QuoteParser.Tests/Resources/testEmls/SL/880.eml index d9f9113..42e789d 100644 --- a/QuoteParser.Tests/Resources/testEmls/SL/880.txt +++ b/QuoteParser.Tests/Resources/testEmls/SL/880.eml @@ -1,3 +1,14 @@ +In-Reply-To: +References: + + +Date: Mon, 14 Jul 2014 11:20:03 -0700 +From: Jin Gray +Content-Type: multipart/alternative; boundary=047d7beb9ff4faec2a04fe2b564f + +--047d7beb9ff4faec2a04fe2b564f +Content-Type: text/plain; charset=UTF-8 + Yes, text's text text up. As text text, we text: @@ -28,3 +39,11 @@ On Mon, Jul 14, 2014 at 11:11 AM, Dan Banan wrote: > > > + +--047d7beb9ff4faec2a04fe2b564f +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +html + +--047d7beb9ff4faec2a04fe2b564f-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/967.eml b/QuoteParser.Tests/Resources/testEmls/SL/967.eml new file mode 100644 index 0000000..f253fc1 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/SL/967.eml @@ -0,0 +1,54 @@ +In-Reply-To: <22> +References: + + + + <23> + + + <22> +Date: Fri, 18 Jul 2014 11:02:23 -0700 +From: Dart Vader +Content-Type: multipart/alternative; boundary=001a1134ca1e2a91e604fe7b8f4a + +--001a1134ca1e2a91e604fe7b8f4a +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +text, text text it text text on my text. + + +On Fri, Jul 18, 2014 at 1:17 AM, Dart Vader wrote: + +> text text and text, +> +> text text my text for text text to text text text +> text. +> text text text text text so text text is no "text text= +=E2=80=9D +> text text text. +> +> text you text any text text text text to text us text. +> +> text text. +> -- +> text text +> +> text text +> text text +> text +> http://www.example.com +> "text text text!" +> +> +> + +--001a1134ca1e2a91e604fe7b8f4a +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +html + +--001a1134ca1e2a91e604fe7b8f4a-- diff --git a/QuoteParser.Tests/Resources/testEmls/SL/967.txt b/QuoteParser.Tests/Resources/testEmls/SL/967.txt deleted file mode 100644 index e275a86..0000000 --- a/QuoteParser.Tests/Resources/testEmls/SL/967.txt +++ /dev/null @@ -1,27 +0,0 @@ -text, text text it text text on my text. - - -On Fri, Jul 18, 2014 at 1:17 AM, Dart Vader wrote: - -> text text and text, -> -> text text my text for text text to text text text -> text. -> text text text text text so text text is no "text text” -> text text text. -> -> text you text any text text text text to text us text. -> -> text text. -> -- -> text text -> -> text text -> text text -> text -> http://www.example.com -> "text text text!" -> -> -> diff --git a/QuoteParser.Tests/Resources/testEmls/empty/102.txt b/QuoteParser.Tests/Resources/testEmls/empty/102.eml similarity index 67% rename from QuoteParser.Tests/Resources/testEmls/empty/102.txt rename to QuoteParser.Tests/Resources/testEmls/empty/102.eml index d13dc74..17ac08d 100644 --- a/QuoteParser.Tests/Resources/testEmls/empty/102.txt +++ b/QuoteParser.Tests/Resources/testEmls/empty/102.eml @@ -1,3 +1,8 @@ +Date: Fri, 30 May 2014 22:51:52 +0400 +From: asdasd dddasd +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 7bit + text: 27 May 2014 11:32:49,278 asd [asd ] [asd0] [] asd on asd asd for asd asd asd sd asd-3 diff --git a/QuoteParser.Tests/Resources/testEmls/empty/1165.txt b/QuoteParser.Tests/Resources/testEmls/empty/1165.eml similarity index 95% rename from QuoteParser.Tests/Resources/testEmls/empty/1165.txt rename to QuoteParser.Tests/Resources/testEmls/empty/1165.eml index 2767a88..326c4b8 100644 --- a/QuoteParser.Tests/Resources/testEmls/empty/1165.txt +++ b/QuoteParser.Tests/Resources/testEmls/empty/1165.eml @@ -1,3 +1,8 @@ +Date: Mon, 4 Aug 2014 09:10:14 -0500 +From: asd asd asd +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 7bit + text text, text text-text on text text: - a.text.text (text text) - b.text.text (text text) diff --git a/QuoteParser.Tests/Resources/testEmls/empty/146.eml b/QuoteParser.Tests/Resources/testEmls/empty/146.eml new file mode 100644 index 0000000..e6d1337 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/empty/146.eml @@ -0,0 +1,26 @@ +From: asd asd +Date: Wed, 4 Jun 2014 03:45:07 +0000 +References: <182> +In-Reply-To: <182> +Content-Type: multipart/alternative; + boundary="_000_d088ddef1e7a412a90e69898ea85df0cAM2PR01MB0708eurprd01pr_" + +--_000_d088ddef1e7a412a90e69898ea85df0cAM2PR01MB0708eurprd01pr_ +Content-Type: text/plain; charset="us-ascii" +Content-Transfer-Encoding: quoted-printable + +text'm text text text text text text on 23/06/2014. +text text't text. +text text text text text@text.nl. + +text, +text text + + +--_000_d088ddef1e7a412a90e69898ea85df0cAM2PR01MB0708eurprd01pr_ +Content-Type: text/html; charset="us-ascii" +Content-Transfer-Encoding: quoted-printable + + + +--_000_d088ddef1e7a412a90e69898ea85df0cAM2PR01MB0708eurprd01pr_-- diff --git a/QuoteParser.Tests/Resources/testEmls/empty/146.txt b/QuoteParser.Tests/Resources/testEmls/empty/146.txt deleted file mode 100644 index 2539450..0000000 --- a/QuoteParser.Tests/Resources/testEmls/empty/146.txt +++ /dev/null @@ -1,7 +0,0 @@ -text'm text text text text text text on 23/06/2014. -text text't text. -text text text text text@text.nl. - -text, -text text - diff --git a/QuoteParser.Tests/Resources/testEmls/empty/20454.eml b/QuoteParser.Tests/Resources/testEmls/empty/20454.eml new file mode 100644 index 0000000..e4f2753 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/empty/20454.eml @@ -0,0 +1,12 @@ +In-Reply-To: +References: +Date: Fri, 12 Feb 2016 10:28:06 +0300 +From: asdasdasd +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: base64 + +0YLQtdC60YEhINGC0LXQutGBINGC0LXQutGBINCyINGC0LXQutGBINGC0LXQutGBICwg0LIg0YLQ +tdC60YEg0YLQtdC60YEsDQoNCnRleHQgdGV4dCAiL3RleHQvdGV4dDMvdGV4dCIgZm9yIDExLjIy +LjIzLjEyMyBhdCAyMDE2LTAyLTEyIDA4OjI2OjMxICswMTAwDQoNCnRleHQgdGV4dCAiL3RleHQv +dGV4dDMvdGV4dD90ZXh0PTEwMCIgZm9yIDExLjIyLjIzLjEyMyBhdA0KMjAxNi0wMi0xMiAwODoy +NjozMiArMDEwMA0K0YLQtdC60YEg0YLQtdC60YEg0YLQtdC60YE= diff --git a/QuoteParser.Tests/Resources/testEmls/empty/20454.txt b/QuoteParser.Tests/Resources/testEmls/empty/20454.txt deleted file mode 100644 index 0612164..0000000 --- a/QuoteParser.Tests/Resources/testEmls/empty/20454.txt +++ /dev/null @@ -1,7 +0,0 @@ -текс! текс текс в текс текс , в текс текс, - -text text "/text/text3/text" for 11.22.23.123 at 2016-02-12 08:26:31 +0100 - -text text "/text/text3/text?text=100" for 11.22.23.123 at -2016-02-12 08:26:32 +0100 -текс текс текс \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/empty/205.txt b/QuoteParser.Tests/Resources/testEmls/empty/205.eml similarity index 64% rename from QuoteParser.Tests/Resources/testEmls/empty/205.txt rename to QuoteParser.Tests/Resources/testEmls/empty/205.eml index 20410dc..9d67a1f 100644 --- a/QuoteParser.Tests/Resources/testEmls/empty/205.txt +++ b/QuoteParser.Tests/Resources/testEmls/empty/205.eml @@ -1,3 +1,8 @@ +Date: Fri, 6 Jun 2014 00:36:22 -0500 +From: asd asd +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 7bit + Product: asd Name: asd asd diff --git a/QuoteParser.Tests/Resources/testEmls/empty/3505.txt b/QuoteParser.Tests/Resources/testEmls/empty/3505.eml similarity index 50% rename from QuoteParser.Tests/Resources/testEmls/empty/3505.txt rename to QuoteParser.Tests/Resources/testEmls/empty/3505.eml index d682e3c..0e4c9ea 100644 --- a/QuoteParser.Tests/Resources/testEmls/empty/3505.txt +++ b/QuoteParser.Tests/Resources/testEmls/empty/3505.eml @@ -1,3 +1,8 @@ +Date: Tue, 11 Nov 2014 19:24:54 +0300 +From: +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 7bit + Email: asdasd@asdasd.com Product Version: Product Build: diff --git a/QuoteParser.Tests/Resources/testEmls/empty/93.eml b/QuoteParser.Tests/Resources/testEmls/empty/93.eml new file mode 100644 index 0000000..4b49325 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/empty/93.eml @@ -0,0 +1,37 @@ +From: asdasd@asdasd.ru +Date: Fri, 30 May 2014 17:27:51 +0400 +Content-Type: multipart/alternative; boundary="=_alternative 0049F87544257CE8_=" + +This is a multipart message in MIME format. +--=_alternative 0049F87544257CE8_= +Content-Type: text/plain; charset="UTF-8" +Content-Transfer-Encoding: base64 + +0YLQtdC60YHRgi4g0YLQtdC60YHRgiDRgSDRgtC10LrRgdGCINGC0LXQutGB0YIuINGC0LXQutGB +0YIg0LIgYXNkYXNkINGC0YMgDQrRgtC10LrRgdGCLCDRgtC10LrRgdGCINGC0LXQutGB0YIg0L3Q +sCDRgtC10LrRgdGCLiDRgtC10LrRgdGCINGC0LXQutGB0YIg0LIgDQphc2Rhc2QtYXNkYXNkLWFz +ZGFzZDoNCmFzZGFzZCBhc2Rhc2QgPSBhc2Rhc2QgYXNkYXNkIGFzZGFzZCBhc2Rhc2QuYXNkYXNk +KA0KIiAiLGFzZGFzZCkuYXNkYXNkDQphc2Rhc2QoYXNkYXNkLCA/YXNkYXNkIGFzZGFzZD8sID9h +c2Rhc2QgYXNkYXNkIGFzZGFzZD8pDQoNCg0K0YLQtdC60YHRgiDRgtC10LrRgdGCINGC0LXQutGB +0YIuINGC0LXQutGB0YIg0YLQtdC60YHRgiDRgtC10LrRgdGCINGC0LXQutGB0YIt0YLQviDRgtC1 +0LrRgdGCLCANCtGC0LXQutGB0YIg0YLQtdC60YHRgiDRgtC10LrRgdGCLiDRgtC10LrRgdGCLCDR +gtC10LrRgdGCLg0KDQoNCg0K0YLQtdC60YHRgiDRgtC10LrRgdGCOiANCtGC0LXQutGB0YIgYXNk +YXNkQGFzZGFzZC5ydSAo0YLQtdC60YHRgiDRgtC10LrRgdGCICkgINGC0LXQutGB0YIg0YLQtdC6 +0YHRgiDRgtC10LrRgdGCINGC0LXQutGB0YIgDQrRgtC10LrRgdGCIChhc2Rhc2QpLCDRgtC10LrR +gdGCINGC0LXQutGB0YIg0YLQtdC60YHRgiDRgtCw0LosINGC0LXQutGB0YIg0YLQtdC60YHRgiAo +0YLQtdC60YHRgiANCtGC0LXQutGB0YIsINGC0LXQutGB0YIg0YLQtdC60YHRgiDRgtC10LrRgdGC +INGC0LXQutGB0YIpINGC0LXQutGB0YINCtGC0LXQutGB0YIg0YLQtdC60YHRgiDRgtC10LrRgdGC +LCDRgtC10LrRgdGCINGC0LXQutGB0YLRgtC10LrRgdGCINGC0LXQutGB0YIsINGC0LXQutGB0YIg +DQrQvNGC0LXQutGB0YIsINGC0LXQutGB0YIg0YLQtdC60YHRgiDRgtC10LrRgdGCINGC0LXQutGB +0YIg0YLQtdC60YHRgiDRgtC10LrRgdGCIA0K0YLQtdC60YHRgi4NCg0K0YLQtdC60YHRgiDRgtC1 +0LrRgdGCINGC0LXQutGB0YIsINGC0LXQutGB0YIg0YLQtdC60YHRgiDRgtC10LrRgdGCINGC0LXQ +utGB0YI6IE9uIA0KMzAuMDUuMjAxNCAxNToxODo0MSwgYW5vdGhlciB1c2VyICjQkNCz0LXQvdGC +INGC0LXRhS7Qv9C+0LTQtNC10YDQttC60LgpIHdyb3RlOiAgICAtLS0g0YLQtdC60YHRgiANCtGC +0LXQutGB0YIg0YLQtdC60YHRgiDRgtC10LrRgdGCINC90LAg0YLQtdC60YHRgiDRgtC10LrRgdGC +Lg0KDQrRgtC10LrRgdGCINGC0LXQutGB0YIg0YLQtdC60YHRgi4= +--=_alternative 0049F87544257CE8_= +Content-Type: text/html; charset="KOI8-R" +Content-Transfer-Encoding: base64 + +asdasd +--=_alternative 0049F87544257CE8_=-- diff --git a/QuoteParser.Tests/Resources/testEmls/empty/93.txt b/QuoteParser.Tests/Resources/testEmls/empty/93.txt deleted file mode 100644 index 373ca7d..0000000 --- a/QuoteParser.Tests/Resources/testEmls/empty/93.txt +++ /dev/null @@ -1,26 +0,0 @@ -текст. текст с текст текст. текст в asdasd ту -текст, текст текст на текст. текст текст в -asdasd-asdasd-asdasd: -asdasd asdasd = asdasd asdasd asdasd asdasd.asdasd( -" ",asdasd).asdasd -asdasd(asdasd, ?asdasd asdasd?, ?asdasd asdasd asdasd?) - - -текст текст текст. текст текст текст текст-то текст, -текст текст текст. текст, текст. - - - -текст текст: -текст asdasd@asdasd.ru (текст текст ) текст текст текст текст -текст (asdasd), текст текст текст так, текст текст (текст -текст, текст текст текст текст) текст -текст текст текст, текст тексттекст текст, текст -мтекст, текст текст текст текст текст текст -текст. - -текст текст текст, текст текст текст текст: On -30.05.2014 15:18:41, another user (Агент тех.поддержки) wrote: --- текст -текст текст текст на текст текст. - -текст текст текст. \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/error/136.eml b/QuoteParser.Tests/Resources/testEmls/error/136.eml new file mode 100644 index 0000000..67d7e1e --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/error/136.eml @@ -0,0 +1,44 @@ +Date: Tue, 03 Jun 2014 14:22:22 +0300 +From: asdasd +References: <832> +In-Reply-To: <832> +Content-Type: multipart/alternative; + boundary="------------060300000502030503080206" + +This is a multi-part message in MIME format. +--------------060300000502030503080206 +Content-Type: text/plain; charset=UTF-8; format=flowed +Content-Transfer-Encoding: 8bit + +12.05.2014 12:51, asdasd asdasd пишет: +> Hello asdasd, +> +> Am I text, text text text (not text)? +> text, text text text text text: +> +> * text text +> * text text text text text text +> +> +> text text. + +Hi. + +My question has not been resolved? thank you. + +-- +С уважением, текст текст +текст текст текст, текст "текст текст" - www.text.ua +тел. (044) 122-12-34 (многоканальный), (056) 123-45-67, (056) 123-45-67 +Skype: text-text +twitter: @text +E-mail: text@text.ua + +--------------060300000502030503080206 +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: 8bit + + + + +--------------060300000502030503080206-- diff --git a/QuoteParser.Tests/Resources/testEmls/error/136.txt b/QuoteParser.Tests/Resources/testEmls/error/136.txt deleted file mode 100644 index 3751edf..0000000 --- a/QuoteParser.Tests/Resources/testEmls/error/136.txt +++ /dev/null @@ -1,22 +0,0 @@ -12.05.2014 12:51, asdasd asdasd пишет: -> Hello asdasd, -> -> Am I text, text text text (not text)? -> text, text text text text text: -> -> * text text -> * text text text text text text -> -> -> text text. - -Hi. - -My question has not been resolved? thank you. - --- С уважением, текст текст -текст текст текст, текст "текст текст" - www.text.ua -тел. (044) 122-12-34 (многоканальный), (056) 123-45-67, (056) 123-45-67 -Skype: text-text -twitter: @text -E-mail: text@text.ua diff --git a/QuoteParser.Tests/Resources/testEmls/error/166.txt b/QuoteParser.Tests/Resources/testEmls/error/166.eml similarity index 61% rename from QuoteParser.Tests/Resources/testEmls/error/166.txt rename to QuoteParser.Tests/Resources/testEmls/error/166.eml index a6caf48..f4dcdd4 100644 --- a/QuoteParser.Tests/Resources/testEmls/error/166.txt +++ b/QuoteParser.Tests/Resources/testEmls/error/166.eml @@ -1,3 +1,8 @@ +Date: Thu, 5 Jun 2014 03:16:53 -0500 +From: asdasd asdasd +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 7bit + Hi, we text text text text. Time: 2014-06-05 12:20 GMT+4 (MSK) diff --git a/QuoteParser.Tests/Resources/testEmls/error/1729.eml b/QuoteParser.Tests/Resources/testEmls/error/1729.eml new file mode 100644 index 0000000..4911a02 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/error/1729.eml @@ -0,0 +1,35 @@ +From: text text +Date: Wed, 3 Sep 2014 11:22:20 +0000 +References: <00cd>, +In-Reply-To: +Content-Type: multipart/alternative; + boundary="_000_4qpju01chabanjcvh6h4ipyo1409743332994emailandroidcom_" + +--_000_4qpju01chabanjcvh6h4ipyo1409743332994emailandroidcom_ +Content-Type: text/plain; charset="Windows-1252" +Content-Transfer-Encoding: quoted-printable + +Thanks. This is helpful. + + - text + +Zhuk Pavel wrote: + + + +Hello text, +text texttext. +In reply to: + + +text text + + +--_000_4qpju01chabanjcvh6h4ipyo1409743332994emailandroidcom_ +Content-Type: text/html; charset="Windows-1252" +Content-Transfer-Encoding: quoted-printable + + + + +--_000_4qpju01chabanjcvh6h4ipyo1409743332994emailandroidcom_-- diff --git a/QuoteParser.Tests/Resources/testEmls/error/1729.txt b/QuoteParser.Tests/Resources/testEmls/error/1729.txt deleted file mode 100644 index 00b214c..0000000 --- a/QuoteParser.Tests/Resources/testEmls/error/1729.txt +++ /dev/null @@ -1,15 +0,0 @@ -Thanks. This is helpful. - - - text - -Zhuk Pavel wrote: - - - -Hello text, -text texttext. -In reply to: - - -text text - diff --git a/QuoteParser.Tests/Resources/testEmls/error/17382.eml b/QuoteParser.Tests/Resources/testEmls/error/17382.eml new file mode 100644 index 0000000..c05539b --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/error/17382.eml @@ -0,0 +1,28 @@ +From: trext +References: <82b6> + +In-Reply-To: +Date: Wed, 21 Oct 2015 19:08:25 +0300 +Content-Type: multipart/alternative; boundary=001a11c29f12ad983305229f9635 + +--001a11c29f12ad983305229f9635 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: base64 + +0YLQtdC60YHRgiDRgtC10LrRgdGCINGC0LXQutGB0YIg0YLQtdC60YHRgiDRgtC10LrRgdGCINGC +0LXQutGB0YIg0YLQtdC60YHRgiDRgtC10LrRgdGCDQrRgtC10LrRgdGCLCDRgtC10LrRgdGCINGC +0LXQutGB0YIg0YLQtdC60YHRgi3RgtC10LrRgdGCINGC0LXQutGB0YI/DQoNCg0KDQoNCg0KDQoN +CiotLS0qDQoNCirQoSDRg9Cy0LDQttC10L3QuNC10LwsINGC0LXQutGB0YIg0YLQtdC60YHRgiEq +DQoNCg0KKtCc0L7QsS7RgtC10LsuOiArNyAoMTIzKSAxMjMtMTIzNCoqUyoqa3lwZTogZ2hqayoN +Cg0KDQoNCipGcm9tOiogdGV4dCB0ZXh0ICh0ZXh0IHRleHQpIFttYWlsdG86dGV4dC50ZXh0QHRl +eHQuY29tXQ0KDQoqU2VudDoqIFdlZG5lc2RheSwgT2N0b2JlciAyMSwgMjAxNSA2OjMyIFBNDQoq +VG86KiDRgtC10LrRgdGCINGC0LXQutGB0YINCipTdWJqZWN0OiogW2FzZHNhcyBhc2RdIFJlOiDR +gtC10LrRgdGCINGC0LXQutGB0YINCg0KDQoNCiMjLSBQbGVhc2UgdHlwZSB5b3VyIHJlcGx5IGFi +b3ZlIHRoaXMgbGluZSAtIyMNCg0KWW91ciByZXF1ZXN0ICgxMjMpIGhhcyBiZWVuIHVwZGF0ZWQu +--001a11c29f12ad983305229f9635 +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + + + +--001a11c29f12ad983305229f9635-- diff --git a/QuoteParser.Tests/Resources/testEmls/error/17382.txt b/QuoteParser.Tests/Resources/testEmls/error/17382.txt deleted file mode 100644 index f1652ad..0000000 --- a/QuoteParser.Tests/Resources/testEmls/error/17382.txt +++ /dev/null @@ -1,29 +0,0 @@ -текст текст текст текст текст текст текст текст -текст, текст текст текст-текст текст? - - - - - - - -*---* - -*С уважением, текст текст!* - - -*Моб.тел.: +7 (123) 123-1234**S**kype: ghjk* - - - -*From:* text text (text text) [mailto:text.text@text.com] - -*Sent:* Wednesday, October 21, 2015 6:32 PM -*To:* текст текст -*Subject:* [asdsas asd] Re: текст текст - - - -##- Please type your reply above this line -## - -Your request (123) has been updated. \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/error/22912.eml b/QuoteParser.Tests/Resources/testEmls/error/22912.eml new file mode 100644 index 0000000..c924dd4 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/error/22912.eml @@ -0,0 +1,25 @@ +From: text +Date: Tue, 05 Jul 2016 16:30:16 +0300 +In-Reply-To: +References: + <14677> + +Content-Type: multipart/alternative; + boundary="--ALT--z79Qwbl3YpaD8fRk7NfSdaEXTVcp22Hq1467725416" + +----ALT--z79Qwbl3YpaD8fRk7NfSdaEXTVcp22Hq1467725416 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: base64 + +dGV4dCANCg0KSU5GT8KgwqAgfCBqdm0gMcKgwqDCoCB8IDIwMTYvMDcvMDUgMTY6Mjc6MTcgfCB0 +ZXh0OiB0ZXh0IHRleHQuIA0KSU5GT8KgwqAgfCBqdm0gMcKgwqDCoCB8IDIwMTYvMDcvMDUgMTY6 +Mjc6MTcgfCB0ZXh0OsKgwqAgdGV4dCB0ZXh0IDEyMzQNCklORk/CoMKgIHwganZtIDHCoMKgwqAg +fCAyMDE2LzA3LzA1IDE2OjI3OjE3IHwgdGV4dDrCoMKgIHRleHQ6IA0KDQp0ZXh0 + +----ALT--z79Qwbl3YpaD8fRk7NfSdaEXTVcp22Hq1467725416 +Content-Type: text/html; charset=utf-8 +Content-Transfer-Encoding: base64 + +sdfsdfsdf + +----ALT--z79Qwbl3YpaD8fRk7NfSdaEXTVcp22Hq1467725416-- diff --git a/QuoteParser.Tests/Resources/testEmls/error/22912.txt b/QuoteParser.Tests/Resources/testEmls/error/22912.txt deleted file mode 100644 index 768d9ad..0000000 --- a/QuoteParser.Tests/Resources/testEmls/error/22912.txt +++ /dev/null @@ -1,7 +0,0 @@ -text - -INFO   | jvm 1    | 2016/07/05 16:27:17 | text: text text. -INFO   | jvm 1    | 2016/07/05 16:27:17 | text:   text text 1234 -INFO   | jvm 1    | 2016/07/05 16:27:17 | text:   text: - -text \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/error/3549.eml b/QuoteParser.Tests/Resources/testEmls/error/3549.eml new file mode 100644 index 0000000..69d7898 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/error/3549.eml @@ -0,0 +1,36 @@ +In-Reply-To: +References: <8DCE> + + + + + +Date: Wed, 12 Nov 2014 16:45:59 +0300 +From: asd asd +Content-Type: multipart/alternative; boundary=001a11332774b08acc0507a99dc5 + +--001a11332774b08acc0507a99dc5 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +Hi text, + +The text text text text, text text text text. +We text text to text text, text, text I've text to text +text of text and, text, text no text. text, text a text and +text us text text text/text: + + +Zhuk Pavel +19:27 (21 hours ago) +to asd, asd +Hi asd, + +text text text text. + +--001a11332774b08acc0507a99dc5 +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +sdfsdfsdf +--001a11332774b08acc0507a99dc5-- diff --git a/QuoteParser.Tests/Resources/testEmls/error/3549.txt b/QuoteParser.Tests/Resources/testEmls/error/3549.txt deleted file mode 100644 index 8ffbebb..0000000 --- a/QuoteParser.Tests/Resources/testEmls/error/3549.txt +++ /dev/null @@ -1,14 +0,0 @@ -Hi text, - -The text text text text, text text text text. -We text text to text text, text, text I've text to text -text of text and, text, text no text. text, text a text and -text us text text text/text: - - -Zhuk Pavel -19:27 (21 hours ago) -to asd, asd -Hi asd, - -text text text text. diff --git a/QuoteParser.Tests/Resources/testEmls/error/3953.txt b/QuoteParser.Tests/Resources/testEmls/error/3953.eml similarity index 61% rename from QuoteParser.Tests/Resources/testEmls/error/3953.txt rename to QuoteParser.Tests/Resources/testEmls/error/3953.eml index 7725103..3668e62 100644 --- a/QuoteParser.Tests/Resources/testEmls/error/3953.txt +++ b/QuoteParser.Tests/Resources/testEmls/error/3953.eml @@ -1,3 +1,8 @@ +Date: Tue, 25 Nov 2014 15:32:35 +0300 +From: slon slon +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 7bit + slon slon slon slon at slon.slon.slon/slon is slon slon slon slon of 11/25/2014 07:31 EST: HTTP ERROR 500 diff --git a/QuoteParser.Tests/Resources/testEmls/error/8863.eml b/QuoteParser.Tests/Resources/testEmls/error/8863.eml new file mode 100644 index 0000000..6a88ab5 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/error/8863.eml @@ -0,0 +1,97 @@ +From: text text +Content-Type: multipart/alternative; boundary="_----------=_1429598055902501"; + charset="utf-8" +In-Reply-To: <6XT8SM> +References: <6XT8SMA> +Date: Tue, 21 Apr 2015 16:34:14 +1000 + +This is a multi-part message in MIME format. + +--_----------=_1429598055902501 +Content-Transfer-Encoding: 7bit +Content-Type: text/plain + +text + +etxt text, + +text + + + + +text + + +On Sat, 4 Apr 2015, at 12:07 AM, text text (text +text) wrote: +> ##- Please type your reply above this line -## +> text text (123) text text text. To text text text, text +> to text text. + + +> text text *text text* (text text) + + +> Apr 3, 17:07 + + +> text text! + + +> text. +> +text, text to text> text> text text> text +tab> text, set text text text text text text. + +> text text text text text. + + +> text text + + +> + + +> + + +> text *text* + + +> Mar 31, 02:16 + + +> text, + + +> Wtext +> text +> text + +--_----------=_1429598055902501 +Content-Transfer-Encoding: 7bit +Content-Type: multipart/related; boundary="_----------=_1429598055902500"; + charset="utf-8" + +This is a multi-part message in MIME format. + +--_----------=_1429598055902500 +Content-Transfer-Encoding: quoted-printable +Content-Type: text/html + + + + +--_----------=_1429598055902500 +Content-Disposition: attachment; filename="asd.png" +Content-Id: <14295> +Content-Transfer-Encoding: base64 +Content-Type: image/png; name="asd.png" + +asdasd +--_----------=_1429598055902500-- + + +--_----------=_1429598055902501-- + diff --git a/QuoteParser.Tests/Resources/testEmls/error/8863.txt b/QuoteParser.Tests/Resources/testEmls/error/8863.txt deleted file mode 100644 index 0ab6f43..0000000 --- a/QuoteParser.Tests/Resources/testEmls/error/8863.txt +++ /dev/null @@ -1,57 +0,0 @@ -text - -etxt text, - -text - - - - -text - - -On Sat, 4 Apr 2015, at 12:07 AM, text text (text -text) wrote: -> ##- Please type your reply above this line -## -> text text (123) text text text. To text text text, text -> to text text. - - -> text text *text text* (text text) - - -> Apr 3, 17:07 - - -> text text! - - -> text. -> -text, text to text> text> text text> text -tab> text, set text text text text text text. - -> text text text text text. - - -> text text - - -> - - -> - - -> text *text* - - -> Mar 31, 02:16 - - -> text, - - -> Wtext -> text -> text diff --git a/QuoteParser.Tests/Resources/testEmls/error/9757.txt b/QuoteParser.Tests/Resources/testEmls/error/9757.eml similarity index 60% rename from QuoteParser.Tests/Resources/testEmls/error/9757.txt rename to QuoteParser.Tests/Resources/testEmls/error/9757.eml index 78a14fd..4f46dec 100644 --- a/QuoteParser.Tests/Resources/testEmls/error/9757.txt +++ b/QuoteParser.Tests/Resources/testEmls/error/9757.eml @@ -1,3 +1,10 @@ +Date: Mon, 18 May 2015 10:10:53 -0600 +From: text text +Content-Type: multipart/alternative; boundary=089e0163415e36ae8b05165d705a + +--089e0163415e36ae8b05165d705a +Content-Type: text/plain; charset=UTF-8 + text On Fri, May 15, 2015 at 5:01 PM, text text < @@ -22,3 +29,11 @@ text text, text't text text text't text. > text text text text text-text text- text text> text text > text + +--089e0163415e36ae8b05165d705a +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +sdfsdf + +--089e0163415e36ae8b05165d705a-- diff --git a/QuoteParser.Tests/Resources/testEmls/phrases/17407.eml b/QuoteParser.Tests/Resources/testEmls/phrases/17407.eml new file mode 100644 index 0000000..3c8f055 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/phrases/17407.eml @@ -0,0 +1,24 @@ +From: test test +Date: Wed, 21 Oct 2015 21:35:48 +0000 +References: +In-Reply-To: +Accept-Language: en-US +Content-Language: en-US +Content-Type: multipart/alternative; + boundary="_000_E2A2E3CBC73A9846BF40D8EF9729FE700177B81FEXCH2010velvacc_" + +--_000_E2A2E3CBC73A9846BF40D8EF9729FE700177B81FEXCH2010velvacc_ +Content-Type: text/plain; charset="utf-8" +Content-Transfer-Encoding: base64 + +dGV4dCB0ZXh0IHRleHQgdGV4dCB0ZXh0IHRleHQgKHRleHRAdGV4dC10ZXh0LnRleHQ8bWFpbHRv +OnRleHRAdGV4dC10ZXh0LmNvbT4pLiAgdGV4dCB0ZXh0dGV4dCBvZiB0ZXh0Pw0KIyMtIFBsZWFz +ZSB0eXBlIHlvdXIgcmVwbHkgYWJvdmUgdGhpcyBsaW5lIC0jIw0KDQp0ZXh0 + +--_000_E2A2E3CBC73A9846BF40D8EF9729FE700177B81FEXCH2010velvacc_ +Content-Type: text/html; charset="utf-8" +Content-Transfer-Encoding: base64 + +aaasdasdasdasdasdas + +--_000_E2A2E3CBC73A9846BF40D8EF9729FE700177B81FEXCH2010velvacc_-- diff --git a/QuoteParser.Tests/Resources/testEmls/phrases/17407.txt b/QuoteParser.Tests/Resources/testEmls/phrases/17407.txt deleted file mode 100644 index a918003..0000000 --- a/QuoteParser.Tests/Resources/testEmls/phrases/17407.txt +++ /dev/null @@ -1,4 +0,0 @@ -text text text text text text (text@text-text.text). text texttext of text? -##- Please type your reply above this line -## - -text \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/phrases/2555.eml b/QuoteParser.Tests/Resources/testEmls/phrases/2555.eml new file mode 100644 index 0000000..ca1925e --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/phrases/2555.eml @@ -0,0 +1,31 @@ +From: asdasd asdasd +Date: Fri, 10 Oct 2014 12:55:37 +0000 +References: <885>, +In-Reply-To: +Content-Type: multipart/alternative; + boundary="_000_kt7ab7sgkt673mkn9i4o6um51412945729070emailandroidcom_" +Accept-Language: en-US +Content-Language: en-US + +--_000_kt7ab7sgkt673mkn9i4o6um51412945729070emailandroidcom_ +Content-Type: text/plain; charset="us-ascii" +Content-Transfer-Encoding: quoted-printable + +text + +-------- Original message -------- +From: text text +Date:10/10/2014 5:42 AM (GMT-08:00) +To: text text +Subject: Re: text-text text + +text text. + +--_000_kt7ab7sgkt673mkn9i4o6um51412945729070emailandroidcom_ +Content-Type: text/html; charset="us-ascii" +Content-Transfer-Encoding: quoted-printable + + + + +--_000_kt7ab7sgkt673mkn9i4o6um51412945729070emailandroidcom_-- diff --git a/QuoteParser.Tests/Resources/testEmls/phrases/2555.txt b/QuoteParser.Tests/Resources/testEmls/phrases/2555.txt deleted file mode 100644 index 8ab1f32..0000000 --- a/QuoteParser.Tests/Resources/testEmls/phrases/2555.txt +++ /dev/null @@ -1,9 +0,0 @@ -text - --------- Original message -------- -From: text text -Date:10/10/2014 5:42 AM (GMT-08:00) -To: text text -Subject: Re: text-text text - -text text. diff --git a/QuoteParser.Tests/Resources/testEmls/phrases/92.eml b/QuoteParser.Tests/Resources/testEmls/phrases/92.eml new file mode 100644 index 0000000..68953fb --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/phrases/92.eml @@ -0,0 +1,19 @@ +Date: Fri, 30 May 2014 15:04:59 +0200 +From: asdas +References: +In-Reply-To: +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +dfgdfg, + +text text text: + +text-text-text-2014-05-30-14-52.text.gz (text youtrack text text +text text) + +text text wrote the following : + +In reply to: + +sdfsdfsdf \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/phrases/92.txt b/QuoteParser.Tests/Resources/testEmls/phrases/92.txt deleted file mode 100644 index 5d7d6ff..0000000 --- a/QuoteParser.Tests/Resources/testEmls/phrases/92.txt +++ /dev/null @@ -1,12 +0,0 @@ -dfgdfg, - -text text text: - -text-text-text-2014-05-30-14-52.text.gz (text youtrack text text -text text) - -text text wrote the following : - -In reply to: - -sdfsdfsdf \ No newline at end of file diff --git a/QuoteParser.Tests/Resources/testEmls/recursive/270.eml b/QuoteParser.Tests/Resources/testEmls/recursive/270.eml new file mode 100644 index 0000000..fb46a63 --- /dev/null +++ b/QuoteParser.Tests/Resources/testEmls/recursive/270.eml @@ -0,0 +1,38 @@ +In-Reply-To: +References: + +From: asd asd +Date: Tue, 10 Jun 2014 12:37:22 -0700 +Content-Type: multipart/alternative; boundary=20cf300e4d3d2fc7b404fb807640 + +--20cf300e4d3d2fc7b404fb807640 +Content-Type: text/plain; charset=UTF-8 + +text + + + +On Tue, Jun 3, 2014 at 11:17 AM, asd asd < +asd-asd@asd.com> wrote: + +> text, +> +> +> In reply to: +> +> Hello.. text text: +> +> +> - URL: asd.asd.com +> + + +--20cf300e4d3d2fc7b404fb807640 +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +adsasdasd + +
+ +--20cf300e4d3d2fc7b404fb807640-- diff --git a/QuoteParser.Tests/Resources/testEmls/recursive/270.txt b/QuoteParser.Tests/Resources/testEmls/recursive/270.txt deleted file mode 100644 index 91fbcc9..0000000 --- a/QuoteParser.Tests/Resources/testEmls/recursive/270.txt +++ /dev/null @@ -1,18 +0,0 @@ -text - - - -On Tue, Jun 3, 2014 at 11:17 AM, asd asd < -asd-asd@asd.com> wrote: - -> text, -> -> -> In reply to: -> -> Hello.. text text: -> -> -> - URL: asd.asd.com -> - diff --git a/QuoteParser.Tests/Resources/testEmls/recursive/6510.txt b/QuoteParser.Tests/Resources/testEmls/recursive/6510.eml similarity index 58% rename from QuoteParser.Tests/Resources/testEmls/recursive/6510.txt rename to QuoteParser.Tests/Resources/testEmls/recursive/6510.eml index 1605e39..00a04f2 100644 --- a/QuoteParser.Tests/Resources/testEmls/recursive/6510.txt +++ b/QuoteParser.Tests/Resources/testEmls/recursive/6510.eml @@ -1,3 +1,10 @@ +Date: Fri, 13 Feb 2015 18:45:53 +0300 +From: asd asd +In-Reply-To: +References: +Content-Type: text/plain; charset=us-ascii +Content-Transfer-Encoding: 7bit + text -----Original Message----- From 4ed781c5d467a60dfbaaae779473aceb74d1035b Mon Sep 17 00:00:00 2001 From: Jeff Date: Tue, 29 Oct 2019 20:50:27 -0400 Subject: [PATCH 5/6] added MimeKitLite to Tests project in order to parse test emails --- QuoteParser.Tests/EmailTestBase.cs | 14 +++++++++----- QuoteParser.Tests/QuoteParser.Tests.csproj | 1 + QuoteParser.Tests/RecTests.cs | 4 ++-- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/QuoteParser.Tests/EmailTestBase.cs b/QuoteParser.Tests/EmailTestBase.cs index 9ba0b69..5d828f8 100644 --- a/QuoteParser.Tests/EmailTestBase.cs +++ b/QuoteParser.Tests/EmailTestBase.cs @@ -1,4 +1,6 @@ -using System; +using MimeKit; +using MimeKit.Text; +using System; using System.IO; using Xunit; @@ -18,15 +20,17 @@ protected EmailTestBase(string folder) protected void Check(int emailNum, QuoteHeader expectedQuoteHeader) { - var content = _parser.Value.Parse(GetResourceText(emailNum)); + var content = _parser.Value.Parse(GetResourceTextBody(emailNum)); Assert.Equal(expectedQuoteHeader, content.Header); } - protected string GetResourceText(int emailNum) + protected string GetResourceTextBody(int emailNum) { var asm = typeof(ABTests).Assembly; - using (var streamReader = new StreamReader(asm.GetManifestResourceStream($"{asm.GetName().Name}.Resources.testEmls.{_folder}.{emailNum}.txt"))) { - return streamReader.ReadToEnd(); + using (var stream = asm.GetManifestResourceStream($"{asm.GetName().Name}.Resources.testEmls.{_folder}.{emailNum}.eml")) { + return MimeMessage + .Load(stream) + .GetTextBody(TextFormat.Plain); } } diff --git a/QuoteParser.Tests/QuoteParser.Tests.csproj b/QuoteParser.Tests/QuoteParser.Tests.csproj index 533dd83..3217fa8 100644 --- a/QuoteParser.Tests/QuoteParser.Tests.csproj +++ b/QuoteParser.Tests/QuoteParser.Tests.csproj @@ -164,6 +164,7 @@ + all diff --git a/QuoteParser.Tests/RecTests.cs b/QuoteParser.Tests/RecTests.cs index 6ddcfcf..2814595 100644 --- a/QuoteParser.Tests/RecTests.cs +++ b/QuoteParser.Tests/RecTests.cs @@ -43,7 +43,7 @@ public void TestEmail270() } ); - var content = Parser.Parse(GetResourceText(emailNum)); + var content = Parser.Parse(GetResourceTextBody(emailNum)); Assert.Equal(expectedQuoteHeader, content.Header); Assert.Equal(expectedInnerQuoteHeader, content.Quote?.Header); } @@ -83,7 +83,7 @@ public void TestEmail6510() } ); - var content = Parser.Parse(GetResourceText(emailNum)); + var content = Parser.Parse(GetResourceTextBody(emailNum)); Assert.Equal(expectedQuoteHeader1, content.Header); Assert.Equal(expectedQuoteHeader2, content.Quote?.Header); Assert.Equal(expectedQuoteHeader3, content.Quote?.Quote?.Header); From f9a018355becf8b173e99ec667d960d886e59d87 Mon Sep 17 00:00:00 2001 From: Jeff Date: Wed, 30 Oct 2019 19:41:42 -0400 Subject: [PATCH 6/6] added usage examples to readme --- README.md | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 93 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 436e3d1..71112ad 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,97 @@ # QuoteParser.NET [![Build Status](https://travis-ci.org/feature23/QuoteParser.NET.svg?branch=master)](https://travis-ci.org/feature23/QuoteParser.NET) A .NET Standard port of JetBrains' [email-parser](https://github.com/JetBrains/email-parser) library. +## Usage Example +The `QuoteParser` class processes the plain text body content of an email message, separating the content of the latest reply from any previous quoted exchanges: + +```csharp +// create an instance of the parser builder +var builder = new QuoteParser.QuoteParser.Builder(); + +// configure the builder using the fluent interface to override any defaults +builder = builder.MinimumQuoteBlockSize(10); + +// build the parser +var parser = builder.Build(); + +// example reply email content that includes a quote of the original message +var emailContent = +@"this is the latest reply body text + +On Tue, Oct 30, 2019, at 12:00 AM, Person A wrote: + +> this is the original message that was replied to"; + +// parse the email content +var content = parser.Parse(emailContent); + +// write the content of the latest reply to the console +Console.Write(String.Join(Environment.NewLine, content.Body)); // this is the latest reply body text +``` + +### Processing raw MIME messages +If you are processing the full raw MIME message, you need to first extract the plain text body content using a MIME parser such as the one included with [MimeKit](http://www.mimekit.net/). The example below uses the `MimeMessage` class which is included with [MimeKitLite](https://www.nuget.org/packages/MimeKitLite/), [MimeKit](https://www.nuget.org/packages/MimeKit/) and [MailKit](https://www.nuget.org/packages/MailKit/). + +```csharp +// same example as above only in raw MIME format +var rawEmailContent = +@"MIME-Version: 1.0 +From: Person B +To: Person A +In-Reply-To: +Content-Type: multipart/alternative; boundary=""random-boundary-id text"" + +--random-boundary-id text +Content-Type: text/plain + +this is the latest reply body text + +On Tue, Oct 30, 2019, at 12:00 AM, Person A wrote: + +> this is the original message that was replied to + +--random-boundary-id text +Content-Type: text/html; +Content-Transfer-Encoding: quoted-printable + +

this is the latest reply body text

+ +

On Tue, Oct 30, 2019, at 12:00 AM, Person A wrote:

+ +

this is the original message that was replied to

+ +--random-boundary-id text-- +"; + +// parse the message using MimeKit +var message = MimeMessage.Load(new MemoryStream(Encoding.UTF8.GetBytes(rawEmailContent))); + +// get the plain text body +var emailContent = message.GetTextBody(TextFormat.Plain); + +// check for reply headers +var hasInReplyToHeader = message.Headers.Contains("In-Reply-To") || message.Headers.Contains("References"); + +// parse the text body using QuoteParser +var content = new QuoteParser.QuoteParser + .Builder() + .Build() + .Parse(emailContent, hasInReplyToHeader); + +// write the content of the latest reply to the console +Console.Write(String.Join(Environment.NewLine, content.Body)); // this is the latest reply body text +``` + +### QuoteParser.Builder Configuration + +|Builder Method|Default Value| +|---|---| +|`HeaderLinesCount`|`3`| +|`MultiLineHeaderLinesCount`|`6`| +|`MinimumQuoteBlockSize`|`7`| +|`DeleteQuoteMarks`|`true`| +|`Recursive`|`false`| +|`KeyPhrases`|`InReplyToRegex, ReplyAboveRegex, OriginalMsgRegex`| + ## Version 2.0.0 Breaking Changes -Removed MimeKitLite dependency in order to avoid duplicate type/namespace conflits for projects that already included (directly or indirectly) different versions of MimeKitLite, MimeKit or MailKit. The QuoteParser class processes the plain text body content of an email message. A MIME parser (such as MimeKit) is required to process raw email messages and extract the plain text body content for quote parsing. \ No newline at end of file +Removed MimeKitLite dependency in order to avoid duplicate type/namespace conflits for projects that already included (directly or indirectly) different versions of MimeKitLite, MimeKit or MailKit. See example above for processing raw MIME messages. \ No newline at end of file