#24484 [Bgs]: SMTP variable in php.ini useless
| From: | anelson at mlis dot com | Date: | Thu, 03 Jul 2003 14:53:13 +0000 |
| Subject: | #24484 [Bgs]: SMTP variable in php.ini useless | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-43194@lists.php.net to get a copy of this message | ||
ID: 24484
User updated by: anelson at mlis dot com
Reported By: anelson at mlis dot com
Status: Bogus
Bug Type: Mail related
Operating System: Redhat 7.2/3
PHP Version: 4.3.1
New Comment:
Ok, I just wanted it documented, since there is no information anywhere
else. In the end, modifying the sendmail configuration is the better
method. I did try this on multiple machines pointing to multiple SMTP
servers to no avail.
Also, there is no fix in the changelog to 4.3.2
Previous Comments:
------------------------------------------------------------------------
[2003-07-03 09:48:01] derick@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
It\'s windows only...
------------------------------------------------------------------------
[2003-07-03 09:46:30] anelson at mlis dot com
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 this bug report at http://bugs.php.net/?id=24484&edit=1