|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2021-02-14 21:19 UTC] requinix@php.net
-Status: Open
+Status: Feedback
[2021-02-14 21:19 UTC] requinix@php.net
[2021-02-15 09:34 UTC] cmb@php.net
-Status: Feedback
+Status: Verified
-Assigned To:
+Assigned To: cmb
[2021-02-15 09:34 UTC] cmb@php.net
[2021-02-26 15:18 UTC] cmb@php.net
[2021-03-01 17:51 UTC] cmb@php.net
[2021-03-01 17:51 UTC] cmb@php.net
-Status: Verified
+Status: Closed
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 04:00:01 2025 UTC |
Description: ------------ Comma in recipient name leads to a malformed SMTP FROM command. Test script: --------------- mail('"Lastname, firstname" <lastname_firstname@example.com>', 'TEST', 'TEST', 'From: "Test" <test@example.com>'); Expected result: ---------------- Message sent successfully Actual result: -------------- Message not sent. SMTP transcript looks like this "SMTPD" 55224 293364 "2021-02-04 05:34:12.678" "xx.xx.xx.xx" "SENT: 220 mx.example.com" "SMTPD" 56232 293364 "2021-02-04 05:34:12.678" "xx.xx.xx.xx" "RECEIVED: HELO HOSTNAME" "SMTPD" 56232 293364 "2021-02-04 05:34:12.678" "xx.xx.xx.xx" "SENT: 250 Hello." "SMTPD" 55224 293364 "2021-02-04 05:34:12.678" "xx.xx.xx.xx" "RECEIVED: MAIL FROM:<sender@example.com>" "SMTPD" 55224 293364 "2021-02-04 05:34:12.678" "xx.xx.xx.xx" "SENT: 250 OK" "SMTPD" 55224 293364 "2021-02-04 05:34:12.678" "xx.xx.xx.xx" "RECEIVED: RCPT TO:<"Lastname>" "SMTPD" 55224 293364 "2021-02-04 05:34:12.678" "xx.xx.xx.xx" "SENT: 550 A valid address is required." "SMTPD" 55224 293364 "2021-02-04 05:34:12.678" "xx.xx.xx.xx" "RECEIVED: QUIT" "SMTPD" 55224 293364 "2021-02-04 05:34:12.678" "xx.xx.xx.xx" "SENT: 221 goodbye"