note 77012 deleted from function.mail by cmb

From: Date: Sun, 21 Jul 2019 08:53:13 +0000
Subject: note 77012 deleted from function.mail by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-211650@lists.php.net to get a copy of this message
Note Submitter: Gianluigi_Zanettini-MegaLab.it ---- Please note that using an address in this format "Zane, CEO - MegaLab.it" <myaddrr@mydomain> (" are needed due to comma) works as expected under *nix, but WON'T WORK under Windows. This is an example <?php mail("\"Zane, CEO - MegaLab.it\" <myaddrr@mydomain>", "prova da test_zane", "dai funziona..."); ?> It works under *unix, but it doensn't under Win: different error are reported: Warning: mail() [function.mail]: SMTP server response: 553 5.0.0 <"Zane>... Unbalanced '"' Warning: mail() [function.mail]: SMTP server response: 501 5.5.4 Invalid Address

« previous php.notes (#211650) next »