Headers should be in camel case

Created on 30 November 2023, 12 months ago
Updated 21 January 2024, 10 months ago

Problem/Motivation

Sent headers should be formatted in camel case according to standard to avoid problems with different email inboxes.

For example currently From header being in lower case causes mailhog to show {{ getSender(message) }} as sender. Changing from header to camel case solved the issue.

https://www.iana.org/assignments/message-headers/message-headers.xhtml

Steps to reproduce

  • Install module
  • Send test message to mailhog

Proposed resolution

Format headers to camel case. Initial patch attached.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇫🇮Finland jviitamaki

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024