discourse/spec/fixtures/emails/forwarded_by_group_to_inbox.eml
Martin Brennan 7b392cee50
FIX: Correct the forwarded by user small post for group inbox (#14252)
When 2ac9fd9dff5a2a9210e2b1b765e1a324bbb4f421 was done, this
affected the small post that is created when forwarding an email
into the group inbox. Instead of using the name and the email of
the user who forwarded the email, it used the original from email
and name to create the small post. So instead of something like
"Discourse Team forwarded the above email" we ended up with
"John Smith forwarded the above email" which is incorrect.

This fixes the issue by creating a staged user for the forwarding
email address (if such a user does not yet exist) and uses that
for the "forwarded" small post instead.
2021-09-06 15:02:13 +10:00

35 lines
970 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>
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