mirror of
https://github.com/discourse/discourse.git
synced 2024-12-30 09:33:46 +08:00
b88d8c8894
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.
17 lines
608 B
Plaintext
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.
|