mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 10:20:58 -06:00
Oops, forgot to check in the email fixtures :P
This commit is contained in:
parent
cc90939aa8
commit
0e984762d5
61
spec/fixtures/emails/boundary.eml
vendored
Normal file
61
spec/fixtures/emails/boundary.eml
vendored
Normal file
@ -0,0 +1,61 @@
|
||||
|
||||
MIME-Version: 1.0
|
||||
Received: by 10.64.14.41 with HTTP; Wed, 19 Jun 2013 06:29:41 -0700 (PDT)
|
||||
In-Reply-To: <51c19490e928a_13442dd8ae892548@tree.mail>
|
||||
References: <51c19490e928a_13442dd8ae892548@tree.mail>
|
||||
Date: Wed, 19 Jun 2013 09:29:41 -0400
|
||||
Delivered-To: finn@adventuretime.ooo
|
||||
Message-ID: <CADkmRcL=2aPV7jOcs2i00QGZNwmjYj3qMaJTsKnB7DTP5sgyFQ@mail.gmail.com>
|
||||
Subject: Re: [Adventure Time] jake mentioned you in 'peppermint butler is
|
||||
missing'
|
||||
From: Finn the Human <finn@adventuretime.ooo>
|
||||
To: jake via Adventure Time <math+96dcd9072ba9072d06226009d4223a6e@tree.mail>
|
||||
Content-Type: multipart/alternative; boundary=001a11c206a073876a04df81d2a9
|
||||
|
||||
--001a11c206a073876a04df81d2a9
|
||||
Content-Type: text/plain; charset=ISO-8859-1
|
||||
|
||||
I'll look into it, thanks!
|
||||
|
||||
|
||||
On Wednesday, June 19, 2013, jake via Adventure Time wrote:
|
||||
|
||||
> jake mentioned you in 'peppermint butler is missing' on Adventure
|
||||
> Time:
|
||||
> ------------------------------
|
||||
>
|
||||
> yeah, just noticed this cc @jake
|
||||
> ------------------------------
|
||||
>
|
||||
> Please visit this link to respond:
|
||||
> http://adventuretime.ooo/t/peppermint-butler-is-missing/7628/2
|
||||
>
|
||||
> To unsubscribe from these emails, visit your user preferences
|
||||
> <http://adventuretime.ooo/user_preferences>.
|
||||
>
|
||||
|
||||
--001a11c206a073876a04df81d2a9
|
||||
Content-Type: text/html; charset=ISO-8859-1
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
|
||||
I'll look into it, thanks!<span></span><br><br>On Wednesday, June 19, 2=
|
||||
013, jake via Adventure Time wrote:<br><blockquote class=3D"gmail_quote" st=
|
||||
yle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>sa=
|
||||
m mentioned you in 'Duplicate message are shown in profile' on Adve=
|
||||
nture Time</p>
|
||||
|
||||
|
||||
<hr><p>yeah, just noticed this cc <a href=3D"http://users/eviltrout" target=
|
||||
=3D"_blank">@eviltrout</a> </p>
|
||||
|
||||
<hr><p>Please visit this link to respond: <a href=3D"http://adventuretime.oo=
|
||||
o/t/duplicate-message-are-shown-in-profile/7628/2" target=3D"_blank">http=
|
||||
://adventuretime.ooo/t/peppermint-butler-is-missing/7628/2</a></=
|
||||
p>
|
||||
|
||||
|
||||
<p>To unsubscribe from these emails, visit your <a href=3D"http://adventuret=
|
||||
ime.ooo/user_preferences" target=3D"_blank">user preferences</a>.</p>
|
||||
</blockquote>
|
||||
|
||||
--001a11c206a073876a04df81d2a9--
|
93
spec/fixtures/emails/html_only.eml
vendored
Normal file
93
spec/fixtures/emails/html_only.eml
vendored
Normal file
@ -0,0 +1,93 @@
|
||||
|
||||
Delivered-To: walter@breakingbad.com
|
||||
Received: by 10.64.13.41 with SMTP id m9csp29769iec;
|
||||
Thu, 20 Jun 2013 08:53:22 -0700 (PDT)
|
||||
X-Received: by 10.252.23.9 with SMTP id p9mr4055675lag.4.1371743601980;
|
||||
Thu, 20 Jun 2013 08:53:21 -0700 (PDT)
|
||||
Received: from mail-la0-x229.google.com (mail-la0-x229.google.com [2a00:1450:4010:c03::229])
|
||||
by mx.google.com with ESMTPS id u4si430203lae.48.2013.06.20.08.53.20
|
||||
for <walter@breakingbad.com>
|
||||
(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
|
||||
Thu, 20 Jun 2013 08:53:21 -0700 (PDT)
|
||||
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
|
||||
d=google.com; s=20120113;
|
||||
h=x-forwarded-to:x-forwarded-for:delivered-to:x-return-path
|
||||
:content-type:mime-version:content-transfer-encoding:x-mailer
|
||||
:message-id:date:subject:from:in-reply-to:to:resent-date:resent-from
|
||||
:resent-to:resent-subject:resent-message-id:resent-user-agent
|
||||
:x-scanned-by:x-gm-message-state;
|
||||
bh=9O67r74ofh9WkEaKTRB/frQ3MKOtQlbCac2mz0/MiyY=;
|
||||
b=YVAo2/JDMP53RxDmqDEKNcEMtggtfaVyq2DoseZ6vBAfB7G6NtHC9ZEkRs4oGhk6LU
|
||||
fnyAPe0wnz5d9WINoMAuuTRIhplLxzcqysduSnAJAQ2qqR7mFBnlj9wJeVEKltNwmUME
|
||||
nPwxsf8go20VBzrZCtECPedcLi60wbl32NCXVn0qwt2LvKiy6ktSS5Xgb4zY8i4dfXAP
|
||||
6Y5gu32boooWIb9DkH1TJkn3C0RrEugNlw/DUnXrnkFefgxWF3pt/zcoW/wYRyikOdx+
|
||||
smBClgR9my6QmsS2KsQrMvWJZUva7fddTiZ6FC22e4hW+8Wha0RaZOZu5O7hjg6G4/1g
|
||||
IEyg==
|
||||
X-Received: by 10.112.55.9 with SMTP id n9mr5916187lbp.5.1371743600857;
|
||||
Thu, 20 Jun 2013 08:53:20 -0700 (PDT)
|
||||
X-Forwarded-To: walter@breakingbad.com
|
||||
X-Forwarded-For: walter@breakingbad.com
|
||||
Delivered-To: walter@breakingbad.com
|
||||
Content-Type: text/html; charset="us-ascii"
|
||||
MIME-Version: 1.0
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
X-Mailer: BlackBerry Email (10.1.0.1720)
|
||||
Message-ID: <20130619231548.6307981.74194.2379@breakingbad.com>
|
||||
Date: Wed, 19 Jun 2013 19:15:48 -0400
|
||||
Subject: Re: [Discourse Meta] [PM] re: Regarding your post in "Site
|
||||
Customization not working"
|
||||
From: aaron@breakingbad.com
|
||||
In-Reply-To: <51c238655a394_5f4e3ce6690667bd@tiefighter2.mail>
|
||||
To: discourse+20c1b0a8bd1a63c0163cc7e7641ca06b@breakingbad.com
|
||||
ReSent-Date: Thu, 20 Jun 2013 11:53:08 -0400 (EDT)
|
||||
ReSent-From: Aaron <aaron@breakingbad.com>
|
||||
ReSent-Subject: Re: [Discourse Meta] [PM] re: Regarding your post in "Site
|
||||
Customization not working"
|
||||
X-Gm-Message-State: ALoCoQl1BtN83rAX7At808XAPv1yCqUK3Du2IvK7eCyY3jsI77u4e5cak28307pYYHAo1JlO/Eu9
|
||||
|
||||
<html><head></head><body data-blackberry-caret-color=3D"#00a8df" style=3D"b=
|
||||
ackground-color: rgb(255, 255, 255); line-height: initial;"><div id=3D"BB10=
|
||||
_response_div" style=3D"width: 100%; font-size: initial; font-family: Calib=
|
||||
ri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; =
|
||||
background-color: rgb(255, 255, 255);">The EC2 instance - I've seen that th=
|
||||
ere tends to be odd and unrecommended settings on the Bitnami installs that=
|
||||
I've checked out.</div> =
|
||||
=
|
||||
<div id=3D"response_div_spacer" style=3D"width: 100%; font-size: ini=
|
||||
tial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125=
|
||||
); text-align: initial; background-color: rgb(255, 255, 255);"><br style=3D=
|
||||
"display:initial"></div> =
|
||||
=
|
||||
<div id=3D"_signaturePlaceholder" style=3D"font-size: initial; font-=
|
||||
family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-ali=
|
||||
gn: initial; background-color: rgb(255, 255, 255);"></div> =
|
||||
=
|
||||
=
|
||||
<table width=3D"100%" style=3D"background-color:white;bord=
|
||||
er-spacing:0px;"> <tbody><tr><td id=3D"_persistentHeaderContainer" colspan=
|
||||
=3D"2" style=3D"font-size: initial; text-align: initial; background-color: =
|
||||
rgb(255, 255, 255);"> <div id=
|
||||
=3D"_persistentHeader" style=3D"border-style: solid none none; border-top-c=
|
||||
olor: rgb(181, 196, 223); border-top-width: 1pt; padding: 3pt 0in 0in; font=
|
||||
-family: Tahoma, 'BB Alpha Sans', 'Slate Pro'; font-size: 10pt;"> <div><b>=
|
||||
From: </b>Grizzly B via Discourse Meta</div><div><b>Sent: </b>Wednesday, J=
|
||||
une 19, 2013 19:02</div><div><b>To: </b>aaron@breakingbad.com</div><div><b>=
|
||||
Reply To: </b>Grizzly B via Discourse Meta</div><div><b>Subject: </b>[Disc=
|
||||
ourse Meta] [PM] re: Regarding your post in "Site Customization<br> not wor=
|
||||
king"</div></div></td></tr></tbody></table><div id=3D"_persistentHeaderEnd"=
|
||||
style=3D"border-style: solid none none; border-top-color: rgb(186, 188, 20=
|
||||
9); border-top-width: 1pt; font-size: initial; text-align: initial; backgro=
|
||||
und-color: rgb(255, 255, 255);"></div><br><div id=3D"_originalContent" styl=
|
||||
e=3D""><p>Grizzly B just sent you a private message</p>
|
||||
|
||||
<hr><p>Log in to our EC2 instance -or- log into a new Digital Ocean instanc=
|
||||
e?</p>
|
||||
|
||||
<hr><p>Please visit this link to respond: <a href=3D"http://meta.discourse.=
|
||||
org/t/regarding-your-post-in-site-customization-not-working/7641/5">http://=
|
||||
meta.discourse.org/t/regarding-your-post-in-site-customization-not-working/=
|
||||
7641/5</a></p>
|
||||
|
||||
<p>To unsubscribe from these emails, visit your <a href=3D"http://meta.disc=
|
||||
ourse.org/user_preferences">user preferences</a>.</p>
|
||||
<br><!--end of _originalContent --></div></body></html>
|
67
spec/fixtures/emails/multipart.eml
vendored
Normal file
67
spec/fixtures/emails/multipart.eml
vendored
Normal file
@ -0,0 +1,67 @@
|
||||
Message-ID: <51C22E52.1030509@darthvader.ca>
|
||||
Date: Wed, 19 Jun 2013 18:18:58 -0400
|
||||
From: Anakin Skywalker <evildad@darthvader.ca>
|
||||
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6
|
||||
MIME-Version: 1.0
|
||||
To: Han Solo via Death Star <discourse+603775f8f5f68006461890a3eadf94cf@darthvader.ca>
|
||||
Subject: Re: [Death Star] [PM] re: Regarding your post in "Site Customization
|
||||
not working"
|
||||
References: <51d23d33f41fb_5f4e4b35d7d60798@xwing.mail>
|
||||
In-Reply-To: <51d23d33f41fb_5f4e4b35d7d60798@xwing.mail>
|
||||
Content-Type: multipart/alternative;
|
||||
boundary="------------070503080300090900010604"
|
||||
|
||||
This is a multi-part message in MIME format.
|
||||
--------------070503080300090900010604
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 7bit
|
||||
|
||||
So presumably all the quoted garbage and my (proper) signature will get
|
||||
stripped from my reply?
|
||||
|
||||
--
|
||||
Anakin Skywalker | `One of the main causes of the fall of
|
||||
evildad@darthvader.ca | the Roman Empire was that, lacking zero,
|
||||
| they had no way to indicate successful
|
||||
| termination of their C programs.' - Firth
|
||||
|
||||
|
||||
--------------070503080300090900010604
|
||||
Content-Type: text/html; charset=UTF-8
|
||||
Content-Transfer-Encoding: 7bit
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
||||
</head>
|
||||
<body bgcolor="#FFFFFF" text="#000000">
|
||||
<div class="moz-cite-prefix">On 13-06-19 06:14 PM, Han Solo via
|
||||
Death Star wrote:<br>
|
||||
</div>
|
||||
<blockquote
|
||||
cite="mid:51d23d33f41fb_5f4e4b35d7d60798@xwing.mail"
|
||||
type="cite">
|
||||
<p>Han Solo just sent you a private message</p>
|
||||
<hr>
|
||||
<p>I got it here! Yay it worked!</p>
|
||||
<hr>
|
||||
<p>Please visit this link to respond: <a moz-do-not-send="true"
|
||||
href="http://darthvader.ca/t/regarding-your-post-in-site-customization-not-working/7641/2">http://darthvader.ca/t/regarding-your-post-in-site-customization-not-working/7641/2</a></p>
|
||||
<p>To unsubscribe from these emails, visit your <a
|
||||
moz-do-not-send="true"
|
||||
href="http://darthvader.ca/user_preferences">user
|
||||
preferences</a>.</p>
|
||||
</blockquote>
|
||||
So presumably all the quoted garbage and my (proper) signature will
|
||||
get stripped from my reply?<br>
|
||||
<br>
|
||||
<pre class="moz-signature" cols="72">--
|
||||
Anakin Skywalker | `One of the main causes of the fall of
|
||||
<a class="moz-txt-link-abbreviated" href="mailto:evildad@darthvader.ca">evildad@darthvader.ca</a> | the Roman Empire was that, lacking zero,
|
||||
| they had no way to indicate successful
|
||||
| termination of their C programs.' - Firth
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
--------------070503080300090900010604--
|
40
spec/fixtures/emails/valid_reply.eml
vendored
Normal file
40
spec/fixtures/emails/valid_reply.eml
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
Return-Path: <jake@adventuretime.ooo>
|
||||
Received: from iceking.adventuretime.ooo ([unix socket]) by iceking (Cyrus v2.2.13-Debian-2.2.13-19+squeeze3) with LMTPA; Thu, 13 Jun 2013 17:03:50 -0400
|
||||
Received: from mail-ie0-x234.google.com (mail-ie0-x234.google.com [IPv6:2607:f8b0:4001:c03::234]) by iceking.adventuretime.ooo (8.14.3/8.14.3/Debian-9.4) with ESMTP id r5DL3nFJ016967 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for <reply+59d8df8370b7e95c5a49fbf86aeb2c93@appmail.adventuretime.ooo>; Thu, 13 Jun 2013 17:03:50 -0400
|
||||
Received: by mail-ie0-f180.google.com with SMTP id f4so21977375iea.25 for <reply+59d8df8370b7e95c5a49fbf86aeb2c93@appmail.adventuretime.ooo>; Thu, 13 Jun 2013 14:03:48 -0700
|
||||
Received: by 10.0.0.1 with HTTP; Thu, 13 Jun 2013 14:03:48 -0700
|
||||
Date: Thu, 13 Jun 2013 17:03:48 -0400
|
||||
From: Jake the Dog <jake@adventuretime.ooo>
|
||||
To: reply+59d8df8370b7e95c5a49fbf86aeb2c93@appmail.adventuretime.ooo
|
||||
Message-ID: <CADkmRc+rNGAGGbV2iE5p918UVy4UyJqVcXRO2=otppgzduJSg@mail.gmail.com>
|
||||
Subject: re: [Discourse Meta] eviltrout posted in 'Adventure Time Sux'
|
||||
Mime-Version: 1.0
|
||||
Content-Type: text/plain;
|
||||
charset=ISO-8859-1
|
||||
Content-Transfer-Encoding: 7bit
|
||||
X-Sieve: CMU Sieve 2.2
|
||||
X-Received: by 10.0.0.1 with SMTP id n7mr11234144ipb.85.1371157428600; Thu,
|
||||
13 Jun 2013 14:03:48 -0700 (PDT)
|
||||
X-Scanned-By: MIMEDefang 2.69 on IPv6:2001:470:1d:165::1
|
||||
|
||||
I could not disagree more. I am obviously biased but adventure time is the
|
||||
greatest show ever created. Everyone should watch it.
|
||||
|
||||
- Jake out
|
||||
|
||||
|
||||
On Sun, Jun 9, 2013 at 1:39 PM, eviltrout via Discourse Meta
|
||||
<reply+59d8df8370b7e95c5a49fbf86aeb2c93@appmail.adventuretime.ooo> wrote:
|
||||
>
|
||||
>
|
||||
>
|
||||
> eviltrout posted in 'Adventure Time Sux' on Discourse Meta:
|
||||
>
|
||||
> ---
|
||||
> hey guys everyone knows adventure time sucks!
|
||||
>
|
||||
> ---
|
||||
> Please visit this link to respond: http://localhost:3000/t/adventure-time-sux/1234/3
|
||||
>
|
||||
> To unsubscribe from these emails, visit your [user preferences](http://localhost:3000/user_preferences).
|
||||
>
|
Loading…
Reference in New Issue
Block a user