Req #49415 [Opn->Wfx]: Allow multiple SMTP servers to be set for the php.ini setting SMTP
Edit report at https://bugs.php.net/bug.php?id=49415&edit=1
ID: 49415
Updated by: cmb@php.net
Reported by: RQuadling at GMail dot com
Summary: Allow multiple SMTP servers to be set for the
php.ini setting SMTP
-Status: Open
+Status: Wont fix
Type: Feature/Change Request
Package: Mail related
Operating System: *
PHP Version: *
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
> Production servers use local relay not remote servers (or should
> :).
Right. And I may add, a *properly* *configured* local SMTP relay
servers. And yes, for many years it is possible to use an MTA
like sendmail on Windows instead of talking to an SMTP server
directly, so I don't see the need to add support for multiple SMTP
servers. Besides, there may be userland mailers which allow that.
Previous Comments:
------------------------------------------------------------------------
[2009-08-30 11:22:23] pajoye@php.net
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.
------------------------------------------------------------------------
[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 https://bugs.php.net/bug.php?id=49415&edit=1
Thread (3 messages)