|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #52612 localhost smtp on linux platforms
Submitted: 2010-08-15 13:06 UTC Modified: 2010-08-16 04:17 UTC
From: php at gigfa dot com Assigned:
Status: Duplicate Package: Mail related
PHP Version: 5.3.3 OS: Linux Debian 5.04
Private report: No CVE-ID: None
 [2010-08-15 13:06 UTC] php at gigfa dot com
In [mail function] section of php.ini, windows users can just set :
SMTP = localhost
smtp_port = 25
And linux user can just set :
sendmail_path =

But, It is better for linux users to be able to set SMTP and SMTP_PORT in addition to sendmail_path.
This is very useful when php is run in chroot jail, mails can simply transfered to localhost:25 local smtp server.
I mean the linux user be able to set both SMTP and sendmail_path settings and select in php.ini which one is used by default.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-08-16 04:17 UTC]
-Status: Open +Status: Duplicate
 [2010-08-16 04:17 UTC]
That would be request #9308. Given that's been open for nine years, I think it's fair to say that we'd happily look at a patch to implement this, but that it's unlikely to get much traction otherwise.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 17 01:01:29 2024 UTC