php.net |  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: php at gigfa dot com
New email:
PHP Version: OS:

 

 [2010-08-15 13:06 UTC] php at gigfa dot com
Description:
------------
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 =
options.

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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-08-16 04:17 UTC] aharvey@php.net
-Status: Open +Status: Duplicate
 [2010-08-16 04:17 UTC] aharvey@php.net
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-2021 The PHP Group
All rights reserved.
Last updated: Sun Dec 05 09:03:36 2021 UTC