From and Reply-to mail headers are ignored

Created on 4 March 2024, 10 months ago
Updated 30 May 2024, 7 months ago

Problem/Motivation

Any custom From mail header is ignored by Sparkpost. Instead, sender_name and sender from the Sparkpost config are used.

Both Webform and Drupal core set the Reply-To header as Reply-to, with 'to' not being capitalised. This is valid, since header names are case insensitive. SparkpostMail checks for the presence of Reply-To in the headers and overwrites it with the from value if it's not present.

Proposed resolution

Make sure any custom set From and Reply-to headers are used.

🐛 Bug report
Status

Needs work

Version

3.0

Component

Code

Created by

🇧🇪Belgium dieterholvoet Brussels

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024