RFC: "Reply-To" instead of "Reply-to"

Created on 26 January 2024, 5 months ago
Updated 9 February 2024, 5 months ago

If using $message['headers']['Reply-To'] = 'mail@example.org' (instead of ['Reply-to']) the following error is thrown because isMailboxListHeader() does not recognize the header:

> An attempt to send an e-mail message failed, and the following error message was returned : The "Reply-To" header must be an instance of "Symfony\Component\Mime\Header\MailboxListHeader" (got "Symfony\Component\Mime\Header\UnstructuredHeader").

Solution:
Just Replace 'Reply-To' in array and unify case for all headers because mail headers are defined as Camel-Case but are case insensitive.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany jan kellermann

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

Comments & Activities

Production build 0.69.0 2024