You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to send and email with a comma in the from_name.
What happened
The sent email is malformed. The MIME enveloppe is not well structured because the comma is not escaped.
Received email header excerpt:
From: "Website, =?UTF-8?B?c3DDqWNpYWxpc3RlIFZPTyI=?= <test@domain.com>
To: test@domain2.com
X-Mailer: CakePHP Email
What you expected to happen
The header should have an extra " :
From: "Website, =?UTF-8?B?c3DDqWNpYWxpc3RlIFZPTw==?=" <test@domain.com>
Otherwise some email readers / gmail, etc are considering that there are multiple From emails due to the non-escaped character.
The text was updated successfully, but these errors were encountered:
Email addresses that contain both unicode and commas will not be
correctly encoded by mime_encode_header if the comma precedes the
unicode. In this scenario we have to quote the encoded address.
Refs #10763
bug
enhancement
feature-discussion (RFC)
CakePHP Version: 2.9.4
Platform and Target: CakeEmail -> SMTP Transport
What you did
I'm trying to send and email with a comma in the from_name.
What happened
The sent email is malformed. The MIME enveloppe is not well structured because the comma is not escaped.
Received email header excerpt:
What you expected to happen
The header should have an extra " :
From: "Website, =?UTF-8?B?c3DDqWNpYWxpc3RlIFZPTw==?=" <test@domain.com>
Otherwise some email readers / gmail, etc are considering that there are multiple From emails due to the non-escaped character.
The text was updated successfully, but these errors were encountered: