Doc #66989 [NEW]: mail() Example #3 has a typographical error

From: Date: Mon, 31 Mar 2014 17:00:51 +0000
Subject: Doc #66989 [NEW]: mail() Example #3 has a typographical error
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-11105@lists.php.net to get a copy of this message
From: michaeldeweil at gmail dot com Operating system: PHP version: Irrelevant Package: Documentation problem Bug Type: Documentation Problem Bug description:mail() Example #3 has a typographical error Description: ------------ --- From manual page: http://www.php.net/function.mail --- There is a typographical error in example #3 for the mail function where it shows how to send mail with an additional command line parameter. The displayed version shows the "-f" flag before the "webmaster@example.com" as part of the address ('-fwebmaster@example.com') whereas it probably should not ('-f webmaster@example.com'). ..as the example currently is displayed: mail('nobody@example.com', 'the subject', 'the message', null, '-fwebmaster@example.com'); ..as it probably should be displayed: mail('nobody@example.com', 'the subject', 'the message', null, '-f webmaster@example.com'); -- Edit bug report at https://bugs.php.net/bug.php?id=66989&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66989&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66989&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66989&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=66989&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=66989&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=66989&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=66989&r=needscript Try newer version: https://bugs.php.net/fix.php?id=66989&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=66989&r=support Expected behavior: https://bugs.php.net/fix.php?id=66989&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=66989&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=66989&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=66989&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66989&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=66989&r=dst IIS Stability: https://bugs.php.net/fix.php?id=66989&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=66989&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=66989&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=66989&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=66989&r=mysqlcfg

« previous php.doc.bugs (#11105) next »