HomePhorge

Properly parse email replies with varied 'To' address formats

Description

Properly parse email replies with varied 'To' address formats

Summary:
While my client and some others send email replies with an address like

T1+x+y@example.com##, some other clients have sent either

<T1+x+y@example.com> or "T1+x+y@example.com" <T1+x+y@example.com>##.

Properly parse all the formats we've seen in the wild.

Test Plan:
Ran the regexp against all the formats observed in the wild (see
https://secure.phabricator.com/mail/received/) and verified it parses them
correctly.

Reviewed By: jungejason
Reviewers: tuomaspelkonen, jungejason, aran
CC: anjali, aran, jungejason
Differential Revision: 370

Details

Provenance
epriestleyAuthored on May 29 2011, 3:33 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP0238f260df02: When an email reply to a task includes files, attach them to the task
Branches
Unknown
Tags
Unknown

Event Timeline