discourse/spec/fixtures/emails/reply_to_different_to_from.eml
Martin Brennan b88d8c8894
FIX: Use reply-to address for incoming emails if present (#13896)
When the Reply-To header is present for incoming emails we
want to use it instead of the from address. This is usually the
case when forwarding an email via a mailing list into Discourse.

For now we are only using the Reply-To header if the email has
been forwarded via Google Groups, which is why we are checking the
X-Original-From header too. In future we may want to use the Reply-To
header in more cases.
2021-08-03 08:01:17 +10:00

17 lines
608 B
Plaintext

From: 'Arthur Morgan' via Western Support <westernsupport@test.mailinglist.com>
Reply-To: Arthur Morgan <arthurmorgan@reddeadtest.com>
To: team@bar.com
Subject: I need some support
Date: Fri, 15 Jan 2016 00:12:43 +0100
Message-ID: <3848c3m98r439c348mc349@test.mailinglist.com>
Mime-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Original-From: Arthur Morgan <arthurmorgan@reddeadtest.com>
Precedence: list
Mailing-list: list westernsupport@test.mailinglist.com; contact
westernsupport+owners@test.mailinglist.com
List-ID: <westernsupport@test.mailinglist.com>
You sir, are a fish.