|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2013-01-25 08:28 UTC] erikv3 at gmx dot net
Description: ------------ --- From manual page: http://www.php.net/function.mail#refsect1-function.mail- parameters --- Test script: --------------- $send_status = mail("test 1:2:3:4:5:6:7:8:9 <erikv2@gmx.net>", "strange name test", "hi"); Expected result: ---------------- an email with in the to field: test 1:2:3:4:5:6:7:8:9 <erikv2@gmx.net> Actual result: -------------- this is the actual to: test@roadrunner.nedlinux.com, "1:2:3:4:5:6:7:8"@roadrunner.nedlinux.com:9 <erikv2@gmx.net> PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 02:00:02 2025 UTC |
if i understood correct from the rfc: address can be (a.o.): [display-name] angle-addr where display-name should be a dot atom, or if not a dot atom, it should be a quoted string and thus the call should be: $send_status = mail('"test 1:2:3:4:5:6:7:8:9" <some@domain.net>', 'strange name test', 'hi')if i understood correct from the rfc: address can be (a.o.): [display-name] angle-addr where display-name should be a dot atom, or if not a dot atom, it should be a quoted string and thus the call should be: $send_status = mail('"test 1:2:3:4:5:6:7:8:9" <some@domain.net>', 'strange name test', 'hi') correct? think so, bec it works. sorry about registering it as a bug. i'm using a mailscript and expected it to work properly. and thus again: expect the unexpected. thanks, erik