Wrong case for reply-to header after using MailManagerInterface::mail()

Created on 20 September 2023, 9 months ago
Updated 14 February 2024, 4 months ago

Problem/Motivation

Code that sends using the legacy API MailManagerInterface::mail() will see incorrect results in $message['headers'] after sending. This is because Drupal uses non-standard case for the reply-to header.

The initial header reply-to header will be present in 'Reply-to', the final updated header exists as 'Reply-To'.

Proposed resolution

The fix should be in emailToArray() to fix the capitalisation.

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ› Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

๐Ÿ‡ฌ๐Ÿ‡งUnited Kingdom AdamPS

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024