Problem/Motivation

Email headers are case-insensitive but this module only checks for a specific case. This can result in duplicate headers such as Bcc, bcc, Reply-to, reply-to, Reply-To etc.

Steps to reproduce

Add the same headers with different case.

Proposed resolution

Convert all headers to lowercase before checking for them. PHPMailer has specific methods for adding headers so case doesn't matter.

Comments

imclean created an issue. See original summary.

imclean’s picture

  • imclean committed 6169721 on 2.0.x
    Issue #3182887: Duplicate headers due to case-sensitive checking
    
imclean’s picture

Status: Active » Fixed
imclean’s picture

Assigned: imclean » Unassigned

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.