discourse/spec/fixtures/emails/body_with_image.eml
Bianca Nenciu bd842cd2b0
FEATURE: Parse images in email signatures (#10137)
* FEATURE: Parse images in email signatures

* DEV: Fix tests

* Code review
2020-07-08 15:50:30 +10:00

88 lines
4.0 KiB
Plaintext

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: <6@foo.bar.mail>
Mime-Version: 1.0
Content-Type: multipart/mixed;
boundary="--==_mimepart_56990c8d3f66c_7cb53ffbb98602004746e";
charset=UTF-8
Content-Transfer-Encoding: 7bit
----==_mimepart_56990c8d3f66c_7cb53ffbb98602004746e
Content-Type: text/html; charset=UTF-8
<div>
<div dir="auto">
<p>This is a <b>GMAIL</b> reply ;)</p>
</div>
<div class="gmail_signature">
<img src="cid:56990c92d6c64_7cb53ffbb986020047616@foo.bar.mail" width="300" height="200">
</div>
</div>
----==_mimepart_56990c8d3f66c_7cb53ffbb98602004746e
Content-Type: image/png;
charset=UTF-8;
filename=logo.png
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename=logo.png
Content-ID: <56990c92d6c64_7cb53ffbb986020047616@foo.bar.mail>
iVBORw0KGgoAAAANSUhEUgAAAPQAAABCCAMAAABXYgukAAABhlBMVEUAAAAj
HyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAj
HyAAqVAAru/lGyTxXCL/+a5UHiHZGyTqNyPtRCM7HyHwWCLrPCOEHSL95Z31
g0W1HCMgs1wAqnghKC0Aq5YJirsAqm6oHCMPb5QArccUXnsSZ4hAvWj80ouP
1oXoKyR4HSL0eTz4q2j+76XsQCOf24vpLyNsHiJgHiEYTGHyZiucHSPzcDTf
76ILga7qMyMwuGIArdEaQ1T7yIJwzHn2l1f6vnovHyDuTCPNHCQfMTr3oV/w
VCL5tHEHk8gArKDnJyTvUCIAruUWVW4ArLMQrl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