• I have a From header that is coming into the plugin properly formatted as ‘From: “Name” <[email protected]>’

    When it passes through maybe_split_recipient(), it gets split into ‘”Name” ‘ and ‘[email protected]’. The regex is properly removing the <> around the email address, but it’s not removing the quotes around the name portion, so by the time it actually gets sent, the plugin mangles the header to ‘From: “\”Name\”” <[email protected]>’ in the actual email. It’s adding an extra set of quotes around the name that then become visible.

    I know it’s a cosmetic thing, but it looks weird in email clients to have the actual quotes show up around the name.

    • This topic was modified 5 years, 4 months ago by Ryan Smith. Reason: Clarification of From header
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Double quoting of From header’ is closed to new replies.