initial commit

This commit is contained in:
Sergey Obukhov
2014-07-23 21:12:54 -07:00
commit 170f11038b
80 changed files with 7481 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
Content-Type: multipart/alternative;
boundary="===============0934372227844987316=="
MIME-Version: 1.0
Date: Mon, 2 Apr 2012 18:22:10 +0400
Message-Id: <CAEAsyCZ-sCHxZtoKyM3JmT5gSYpZd5GwY-cVNiV8H329zgJT4g@mail.gmail.com>
Subject: Re: Test
From: Sergey Obykhov <bob@example.com>
To: "bob@xxx.mailgun.org" <bob@xxx.mailgun.org>
--===============0934372227844987316==
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
SGVsbG8KMDIuMDQuMjAxMiAxNDoyMCDQv9C+0LvRjNC30L7QstCw0YLQtdC70YwgImJvYkB4eHgubWFpbGd1bi5vcmciIDwKYm9iQHh4eC5tYWlsZ3VuLm9yZz4g0L3QsNC/0LjRgdCw0Ls6Cgo+IEhpCj4KCg==
--===============0934372227844987316==
MIME-Version: 1.0
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64
PHA+SGVsbG88L3A+CjxkaXYgY2xhc3M9ImdtYWlsX3F1b3RlIj4wMi4wNC4yMDEyIDE0OjIwINC/0L7Qu9GM0LfQvtCy0LDRgtC10LvRjCAmcXVvdDs8YSBocmVmPSJtYWlsdG86Ym9iQHh4eC5tYWlsZ3VuLm9yZyI+Ym9iQHh4eC5tYWlsZ3VuLm9yZzwvYT4mcXVvdDsgJmx0OzxhIGhyZWY9Im1haWx0bzpib2JAeHh4Lm1haWxndW4ub3JnIj5ib2JAeHh4Lm1haWxndW4ub3JnPC9hPiZndDsg0L3QsNC/0LjRgdCw0Ls6PGJyIHR5cGU9ImF0dHJpYnV0aW9uIj4KPGJsb2NrcXVvdGUgY2xhc3M9ImdtYWlsX3F1b3RlIiBzdHlsZT0ibWFyZ2luOjAgMCAwIC44ZXg7Ym9yZGVyLWxlZnQ6MXB4ICNjY2Mgc29saWQ7cGFkZGluZy1sZWZ0OjFleCI+SGk8YnI+CjwvYmxvY2txdW90ZT48L2Rpdj4KCg==
--===============0934372227844987316==--

65
tests/fixtures/standard_replies/aol.eml vendored Normal file
View File

@@ -0,0 +1,65 @@
Content-Type: multipart/alternative;
boundary="===============7429987408351918371=="
MIME-Version: 1.0
To: bob@example.com
Subject: Re: Test
From: Megan Odin <xxx@aol.com>
Message-Id: <8CEDEEFBEF4733B-1E5C-73DF@webmail-d070.sysops.aol.com>
Date: Mon, 2 Apr 2012 09:57:58 -0400 (EDT)
--===============7429987408351918371==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Hello
-----Original Message-----
From: bob <bob@example.com>
To: xxx <xxx@gmail.com>; xxx <xxx@hotmail.com>; xxx <xxx@yahoo.com>; xxx <xxx@aol.com>; xxx <xxx@comcast.net>; xxx <xxx@nyc.rr.com>
Sent: Mon, Apr 2, 2012 5:49 pm
Subject: Test
Hi
--===============7429987408351918371==
Content-Type: text/html; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
<font color='black' size='2' face='arial'>Hello<br>
<br>
<br>
<div style="font-family:arial,helvetica;font-size:10pt;color:black">-----Original Message-----<br>
From: bob &lt;bob@example.com&gt;<br>
To: xxx &lt;xxx@gmail.com&gt;; xxx &lt;xxx@hotmail.com&gt;; xxx &lt;xxx@yahoo.com&gt;; xxx &lt;xxx@aol.com&gt;; xxx &lt;xxx@comcast.net&gt;; xxx &lt;xxx@nyc.rr.com&gt;<br>
Sent: Mon, Apr 2, 2012 5:49 pm<br>
Subject: Test<br>
<br>
<div id="AOLMsgPart_0_4d68a632-fe65-4f6d-ace2-292ac1b91f1f" style="margin: 0px;font-family: Tahoma, Verdana, Arial, Sans-Serif;font-size: 12px;color: #000;background-color: #fff;">
<pre style="font-size: 9pt;"><tt>Hi
</tt></pre>
</div>
<!-- end of AOLMsgPart_0_4d68a632-fe65-4f6d-ace2-292ac1b91f1f -->
</div>
</font>
--===============7429987408351918371==--

View File

@@ -0,0 +1,15 @@
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Apple Message framework v1257)
Subject: Re: Test
From: xxx <xxx@gmail.com>
Date: Tue, 3 Apr 2012 16:55:26 +0400
Content-Transfer-Encoding: 7bit
Message-Id: <9A1EA6A5-4FD3-4AD0-8DFD-2420E670DB53@gmail.com>
To: bob <bob@example.com>
X-Mailer: Apple Mail (2.1257)
Hello
On Apr 3, 2012, at 4:19 PM, bob wrote:
> Hi

View File

@@ -0,0 +1,33 @@
Content-Type: multipart/alternative;
boundary="===============3552566137977633461=="
MIME-Version: 1.0
Date: Mon, 2 Apr 2012 13:56:12 +0000 (UTC)
From: xxx@comcast.net
To: bob@xxx.mailgun.org
Message-Id: <650787974.741595.1333374972389.JavaMail.root@sz0152a.westchester.pa.mail.comcast.net>
Subject: Re: Test
X-Mailer: Zimbra 6.0.13_GA_2944 (ZimbraWebClient - SAF3 (Linux)/6.0.13_GA_2944)
--===============3552566137977633461==
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hello
----- Original Message -----
From: bob@xxx.mailgun.org
To: xxx@gmail.com, xxx@hotmail.com, xxx@yahoo.com, xxx@aol.com, xxx@comcast.net, lsloan6@nyc.rr.com
Sent: Monday, April 2, 2012 5:44:22 PM
Subject: Test
Hi
--===============3552566137977633461==
MIME-Version: 1.0
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: 7bit
<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'>Hello<br><br><hr id="zwchr"><b>From: </b>bob@xxx.mailgun.org<br><b>To: </b>xxx@gmail.com, xxx@hotmail.com, xxx@yahoo.com, xxx@aol.com, xxx@comcast.net, lsloan6@nyc.rr.com<br><b>Sent: </b>Monday, April 2, 2012 5:44:22 PM<br><b>Subject: </b>Test<br><br>Hi<br></div></body></html>
--===============3552566137977633461==--

View File

@@ -0,0 +1,31 @@
Content-Type: multipart/alternative;
boundary="===============3455449757443551301=="
MIME-Version: 1.0
Date: Mon, 2 Apr 2012 20:21:52 +0400
Message-Id: <CAKsfaBW4hj0Gek6TwbR3erng4P1y0CZzJ0d=pXtCNnYnbe7PLg@mail.gmail.com>
Subject: Re: Test
From: Megan One <xxx@gmail.com>
To: bob@example.com
--===============3455449757443551301==
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hello
On Mon, Apr 2, 2012 at 6:26 PM, Megan One <xxx@gmail.com> wrote:
> Hi
--===============3455449757443551301==
MIME-Version: 1.0
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hello<br><br><div class="gmail_quote">On Mon, Apr 2, 2012 at 6:26 PM, Megan One <span dir="ltr">&lt;<a href="mailto:xxx@gmail.com">xxx@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi
</blockquote></div><br>
--===============3455449757443551301==--

View File

@@ -0,0 +1,50 @@
Content-Type: multipart/alternative;
boundary="===============5499446768842282638=="
MIME-Version: 1.0
Message-Id: <DUB102-W192C6E94759954C4885B92B14C0@phx.gbl>
From: Alexey Q <xxx@hotmail.com>
To: <bob@xxx.mailgun.org>
Subject: RE: Test
Date: Mon, 2 Apr 2012 21:47:37 +0800
X-Originalarrivaltime: 02 Apr 2012 13:47:37.0935 (UTC)
FILETIME=[2A6C0DF0:01CD10D7]
--===============5499446768842282638==
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hello
> Subject: Test
> From: bob@xxx.mailgun.org
> To: xxx@gmail.com; xxx@hotmail.com; xxx@yahoo.com; xxx@aol.com; xxx@comcast.net; xxx@nyc.rr.com
> Date: Mon, 2 Apr 2012 17:44:22 +0400
>
> Hi
--===============5499446768842282638==
MIME-Version: 1.0
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: 7bit
<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hello<br><br><div><div id="SkyDrivePlaceholder"></div>&gt; Subject: Test<br>&gt; From: bob@xxx.mailgun.org<br>&gt; To: xxx@gmail.com; xxx@hotmail.com; xxx@yahoo.com; xxx@aol.com; xxx@comcast.net; xxx@nyc.rr.com<br>&gt; Date: Mon, 2 Apr 2012 17:44:22 +0400<br>&gt; <br>&gt; Hi<br></div> </div></body>
</html>
--===============5499446768842282638==--

View File

@@ -0,0 +1,19 @@
Subject: Re: Test
From: xxx <xxx@gmail.com>
Content-Type: text/plain;
charset=us-ascii
X-Mailer: iPhone Mail (9B176)
Message-Id: <06C90B12-13B9-4C5F-A9EF-4A809D94C078@gmail.com>
Date: Tue, 3 Apr 2012 16:23:59 +0400
To: bob <bob@example.com>
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (1.0)
hello
Sent from my iPhone
On Apr 3, 2012, at 4:19 PM, bob <bob@example.com> wr=
ote:
> Hi

View File

@@ -0,0 +1,85 @@
Subject: Test
From: me@example.com
To: you@example.com
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary=0016364c440b2e8b63049acd5370
X-Mailgun-Tag: tag
X-Mailgun-Mailing-List-Id: 1q
--0016364c440b2e8b63049acd5370
Content-Type: text/plain; charset=ISO-8859-1
Hello
From: xxx@xxx.mailgun.org [mailto:xxx@xxx.mailgun.org]
Sent: March-09-12 4:22 PM
To: Dan Le
Subject: The manager has commented on your Loop
Hi dan.le@example.com<mailto:dan.le@example.com>,
The manager's comment:
"Hello Allan! Did you ask for some MIME? "
Loop details:
xxx at Dan
I'm not happy
""
Your Loop is here<http://dev.xxx.com/loop/view/4f50f20e160839c95a000bb3?_uid=4f3541a7ac63e655040008e3>.
We will be in touch again with any further updates,
xxx
If you did not sign up to receive emails from us you can use the link below to unsubscribe. We apologize for any inconvenience.
Unsubscribe<http://dev.xxx.com/user/unsubscribe/dan.le@example.com?verify=4a400554148256338956101abdf06406>
--0016364c440b2e8b63049acd5370
Content-Type: text/html; charset=ISO-8859-1
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-CA link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Allo! Follow up MIME!<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xxx@xxx.mailgun.org [mailto:xxx@xxx.mailgun.org] <br><b>Sent:</b> March-09-12 4:22 PM<br><b>To:</b> Dan Le<br><b>Subject:</b> The manager has commented on your Loop<o:p></o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Hi <a href="mailto:dan.le@example.com">dan.le@example.com</a>,<br><br>The manager's comment:<br>&quot;Hello Allan! Did you ask for some MIME? &quot;<br><br>Loop details:<br><br>xxx at Dan<br>I'm not happy<br>&quot;&quot;<br><br>Your Loop is <a href="http://dev.xxx.com/loop/view/4f50f20e160839c95a000bb3?_uid=4f3541a7ac63e655040008e3">here</a>.<br><br>We will be in touch again with any further updates,<br><br>xxx<br><br>If you did not sign up to receive emails from us you can use the link below to unsubscribe. We apologize for any inconvenience.<br><br><a href="http://dev.xxx.com/user/unsubscribe/dan.le@example.com?verify=4a400554148256338956101abdf06406">Unsubscribe</a> <o:p></o:p></p></div></body></html>
--0016364c440b2e8b63049acd5370--

View File

@@ -0,0 +1,61 @@
Date: Tue, 3 Apr 2012 16:58:35 +0400
From: xxx <xxx@gmail.com>
To: bob <bob@example.com>
Message-ID: <5BB86EF4B6E24E4C9DA4BBEF59DA9809@gmail.com>
Subject: Re: Test
X-Mailer: sparrow 1.5 (build 1043)
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="4f7af3fb_749abb43_300"
--4f7af3fb_749abb43_300
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hello
--
xxx
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Tuesday, April 3, 2012 at 4:55 PM, xxx wrote:
> Hello
>
> On Apr 3, 2012, at 4:19 PM, bob wrote:
>
> > Hi
--4f7af3fb_749abb43_300
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
<div>
<span style=3D=22font-size: 12px;=22>Hello</span>
</div>
<div><div><br></div><div>--&nbsp;</div><div>xx=
x</div><div>Sent with <a href=3D=22http://www.sparrowmailapp.com/=3Fsig=22=
>Sparrow</a></div><div><br></div></div>
=20
<p style=3D=22color: =23A0A0A8;=22>On Tuesday, April 3, 2=
012 at 4:55 PM, xxx wrote:</p>
<blockquote type=3D=22cite=22 style=3D=22border-left-styl=
e:solid;border-width:1px;margin-left:0px;padding-left:10px;=22>
<span><div><div><div>Hello</div><div><br></div><div>O=
n Apr 3, 2012, at 4:19 PM, bob wrote:</div><div><br></div><blo=
ckquote type=3D=22cite=22><div>Hi</div></blockquote></div></div></span>
=20
=20
=20
=20
</blockquote>
=20
<div>
<br>
</div>
--4f7af3fb_749abb43_300--

View File

@@ -0,0 +1,5 @@
Hello
--
xxx
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

View File

@@ -0,0 +1,15 @@
MIME-Version: 1.0
Message-Id: <4F79B73C.9030506@xxx.mailgun.org>
Date: Mon, 02 Apr 2012 18:27:08 +0400
From: bob <bob@xxx.mailgun.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.2.28) Gecko/20120313 Thunderbird/3.1.20
To: Megan One <xxx@gmail.com>
Subject: Re: Test
Sender: bob@xxx.mailgun.org
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
On 04/02/2012 06:26 PM, Megan One wrote:
> Hi
Hello

View File

@@ -0,0 +1,22 @@
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
X-Mailer: YahooMailWebService/0.8.117.340979
Message-Id: <1333374330.68772.YahooMailNeo@web114411.mail.gq1.yahoo.com>
Date: Mon, 2 Apr 2012 06:45:30 -0700 (PDT)
From: Alex Q <xxx@yahoo.com>
Subject: Re: Test
To: "bob@xxx.mailgun.org" <bob@xxx.mailgun.org>
In-Reply-To: <1333374262.7063.15.camel@mg5>
Content-Transfer-Encoding: 7bit
Hello
----- Original Message -----
From: "bob@xxx.mailgun.org" <bob@xxx.mailgun.org>
To: xxx@gmail.com; xxx@hotmail.com; xxx@yahoo.com; xxx@aol.com; xxx@comcast.net; xxx@nyc.rr.com
Cc:
Sent: Monday, April 2, 2012 5:44 PM
Subject: Test
Hi