From: anelson at mlis dot com Operating system: Redhat 7.2/3 PHP version: 4.3.1 PHP Bug Type: Mail related Bug description: SMTP variable in php.ini useless
Description: ------------ By adding the line: SMTP = 64.90.xxx.xxx where xxx is more of the address, the mail() function still uses localhost. I've seen some stuff about these variables working only on windows. Is this true. Otherwise, there is no error message or anything. Seems like the variable just does nothing. Reproduce code: --------------- </usr/local/lib/php.ini> SMTP = 64.90.xxx.xxx Expected result: ---------------- I expected to have the mail try to go out through the SMTP server specified Actual result: -------------- The mail went out from localhost -- Edit bug report at http://bugs.php.net/?id=24484&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=24484&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=24484&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24484&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24484&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24484&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24484&r=support Expected behavior: http://bugs.php.net/fix.php?id=24484&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24484&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24484&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24484&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24484&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24484&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24484&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24484&r=gnused