Closed Bug 1677328 Opened 4 years ago Closed 4 years ago

Add support for Yahoo's "X-Apparently-To" header with "Catch All" feature

Categories

(Thunderbird :: Account Manager, defect)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: fabstz-it, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Steps to reproduce:

The "Catch all" feature (implemented in bug 1518025) allows one to set custom headers to use to get the addressee's email by using the pref "mail.compose.catchAllHeaders"

This works fine when the header only contains an email address (like the To header)
However the header used by yahoo that reports the email address the mail has been sent to contains both the email address and the timestamp. For example

X-Apparently-To: Prefix-Suffix@yahoo.com; Sat, 14 Nov 2020 19:26:30 +0000

To test this, one has to use an email where the recipient's email address is not in another header (especially the "To:" header), eg when the recipient is only in BCC.

Actually, it seems to work already. So I close the bug. Test email is as follows:

From - Sat Nov 14 20:26:35 2020
X-Apparently-To: myPrefix-suffix@yahoo.fr; Sat, 14 Nov 2020 19:26:30 +0000
From: test <test@doamin.com>
Subject: test
Message-ID: <4a33532d-03ab-41de-bbc6-99116c7a2d4e@abc>
Date: Sat, 14 Nov 2020 20:26:07 +0100
MIME-Version: 1.0
To: myPrefix-mail@NOTyahoo.com
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
References: <4a33532d-03ab-41de-bbc6-99116c7a2d4e@abc>
Content-Length: 0
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
See Also: → 1679100
You need to log in before you can comment on or make changes to this bug.