From: RQuadling at GMail dot com Operating system: Windows XP SP2 PHP version: 5.3CVS-2007-11-20 (snap) PHP Bug Type: Mail related Bug description: Mail function returns true but no email sent
Description: ------------ Same script working on PHP 4.4.7-dev (cgi-fcgi) (built: Mar 25 2007 21:02:43) PHP 5.2.2RC2-dev (cli) (built: Apr 18 2007 08:03:01) but not on PHP 5.3.0-dev (cli) (built: Nov 20 2007 08:19:12) Using Wireshark to see SMTP activity. No errors, warnings or notices produced. Script doesn't crash. True is returned. Running via the command line to remove all extensions and relying on default configuration. Obviously, you will need to change the SMTP server and email addresses to see this in operation. Reproduce code: --------------- php -n -r "ini_set('SMTP', 'gmail-smtp-in.l.google.com'); var_dump(mail('[EMAIL PROTECTED]', 'Subject', 'Message', 'From:[EMAIL PROTECTED]'));" Expected result: ---------------- True AND an email to be received. Actual result: -------------- True but no SMTP activity when monitored using WireShark. -- Edit bug report at http://bugs.php.net/?id=43348&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43348&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43348&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43348&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43348&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43348&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43348&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43348&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=43348&r=needscript Try newer version: http://bugs.php.net/fix.php?id=43348&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43348&r=support Expected behavior: http://bugs.php.net/fix.php?id=43348&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43348&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43348&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43348&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43348&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43348&r=dst IIS Stability: http://bugs.php.net/fix.php?id=43348&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43348&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43348&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43348&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=43348&r=mysqlcfg