-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hi All, my client whose site is using com_connect recently flagged an issue where the From: field had a bunch of stuff in it, not just a clean email address. For example:
From: one@emailaddress.com
Reply-To: another@emailaddress.com
X-Mailer: Textpattern (com_connect)
X-Originating-IP: 71.192.96.233
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="UTF-8"
It seemed like the "From" header string was not being separated properly. When I changed these lines: $sep = IS_WIN ? "\r\n" : "\n"; to be $sep = IS_WIN ? "\r\n" : "\r\n"; (ie, a carriage return and newline character no matter what) the issue was resolved. Here is the server info:
Apache Version 2.4.59
MySQL Version 5.7.23-23
Architecture x86_64
Operating System linux
Shared IP Address 162.241.194.200
Path to Sendmail /usr/sbin/sendmail
Path to Perl /usr/bin/perl
Perl Version 5.16.3
Kernel Version 4.19.286-203.ELK.el7.x86_64
Now, those header lines look like:
From: one@emailaddress.com
X-Mailer: Textpattern (com_connect)
X-Originating-IP: 71.192.96.233
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="UTF-8"
So, for me I think this issue is fixed but posting here for others.
Metadata
Metadata
Assignees
Labels
No labels