#49415 [Opn]: Allow multiple SMTP servers to be set for the php.ini setting SMTP
ID: 49415
Updated by: pajoye@php.net
Reported By: RQuadling at GMail dot com
Status: Open
Bug Type: Feature/Change Request
Operating System: n/a
PHP Version: 5.3.0
New Comment:
I think it is the role of the delivery system on your system. PHP will
simply use the served defined by php.ini, which should be safe.
As I can imagine the usefulness of this feature when one uses only
remote smtp servers, I do not think this is a common case. Production
servers use local relay not remote servers (or should :).
There are many servers who can be used as local relay, like
sendmail.exe (never tested), hmailserver or mailenable.
Previous Comments:
------------------------------------------------------------------------
[2009-08-30 10:55:35] RQuadling at GMail dot com
Description:
------------
Hi.
One of the "features" of Windows is no native SMTP server.
One of the solutions is the use getmxrr() to find the recipients mail
server and send to one of the servers listed.
If the server fails you then have to run through the list and keep
trying until it all goes off ok.
It'd be nice if the php.ini setting SMTP allowed for multiple servers
and have the mail() function automatically handle them.
Ideally, being able to get the response of getmxrr() into the mail()
function would be a nice solution.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49415&edit=1
Thread (3 messages)