discourse/spec/fixtures/emails/inline_image.eml
Régis Hanol 46b6c55197 FIX: replace 'discourse_email_parser' with 'email_reply_trimmer' to better trim replies from plain text emails
FIX: undefined method `number_to_human_size' when email contains attachments
2016-01-30 01:29:31 +01:00

76 lines
4 KiB
Text

Return-Path: <discourse@bar.com>
From: Foo Bar <discourse@bar.com>
To: reply+4f97315cc828096c9cb34c6f1a0d6fe8@bar.com
Date: Fri, 15 Jan 2016 00:12:43 +0100
Message-ID: <28@foo.bar.mail>
Mime-Version: 1.0
Content-Type: multipart/related; boundary=001a114b2eccff183a052998ec68
--001a114b2eccff183a052998ec68
Content-Type: multipart/alternative; boundary=001a114b2eccff1836052998ec67
--001a114b2eccff1836052998ec67
Content-Type: text/plain; charset=UTF-8
Before
[image: 内嵌图片 1]
After
--001a114b2eccff1836052998ec67
Content-Type: text/html; charset=UTF-8
<div dir="ltr">Before<div><br></div><div><img src="cid:ii_1525434659ddb4cb" alt="内嵌图片 1" style="margin-right: 0px;"><br>
<div><br></div><div>After</div></div></div>
--001a114b2eccff1836052998ec67--
--001a114b2eccff183a052998ec68
Content-Type: image/png; name="logo.png"
Content-Disposition: inline; filename="logo.png"
Content-Transfer-Encoding: base64
Content-ID: <ii_1525434659ddb4cb>
X-Attachment-Id: ii_1525434659ddb4cb
iVBORw0KGgoAAAANSUhEUgAAAPQAAABCCAMAAABXYgukAAABhlBMVEUAAAAjHyAjHyAjHyAjHyAj
HyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAAqVAAru/lGyTxXCL/+a5UHiHZGyTq
NyPtRCM7HyHwWCLrPCOEHSL95Z31g0W1HCMgs1wAqnghKC0Aq5YJirsAqm6oHCMPb5QArccUXnsS
Z4hAvWj80ouP1oXoKyR4HSL0eTz4q2j+76XsQCOf24vpLyNsHiJgHiEYTGHyZiucHSPzcDTf76IL
ga7qMyMwuGIArdEaQ1T7yIJwzHn2l1f6vnovHyDuTCPNHCQfMTr3oV/wVCL5tHEHk8gArK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