discourse/spec/fixtures/emails/forwarded_by_group_to_inbox.eml
Martin Brennan 9f36d8ad43
FIX: Capture CC addresses for forwarded emails (#14254)
When forwarding emails into the group inbox, we now use the
original sender email as the from_address since
2ac9fd9dff. However, we have not
been saving the original CC addresses of the forwarded email,
which are needed to include those recipients in on the conversation
when replying via the group inbox.

This commit captures the CC addresses on the incoming email, and
makes sure the emails are created as staged users and added to the
list of topic allowed users so they are included on CC's sent by
the GroupSmtpEmail and other jobs.
2021-09-07 08:46:28 +10:00

36 lines
1021 B
Plaintext

Message-ID: <58@somesmtpaddress.mail>
From: Discourse Team <team@somesmtpaddress.com>
To: support+team@bar.com
Date: Mon, 1 Dec 2016 13:37:42 +0100
Subject: Fwd: Login problems
Content-Type: multipart/related; boundary="00000000000072702105c89858de"
--00000000000072702105c89858de
Content-Type: multipart/alternative; boundary="00000000000072702005c89858dd"
--00000000000072702005c89858dd
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
---------- Forwarded message ---------
From: Fred Flintstone <fred@bedrock.com>
Date: Mon, 1 Dec 2016 13:37:42 +0100
Subject: Re: Login problems
To: Discourse Team <team@somesmtpaddress.com>
CC: Terry Jones <terry@ccland.com>, don@ccland.com
Hello I am having some issues with my forum.
Fred
--00000000000072702005c89858dd
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<p>Hello I am having some issues with my forum.</p>
<br>Fred<br>
--00000000000072702005c89858dd--
--00000000000072702105c89858de