php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #16922 Mail()
Submitted: 2002-04-30 01:28 UTC Modified: 2002-04-30 05:17 UTC
From: jtjohnston at courrier dot usherb dot ca Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.2.0 OS: N/A
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jtjohnston at courrier dot usherb dot ca
New email:
PHP Version: OS:

 

 [2002-04-30 01:28 UTC] jtjohnston at courrier dot usherb dot ca
mail() should allow an optional smtp specification, such as:

   mail("nobody@aol.com",
   "the subject",
   $message,
   "From: webmaster@$SERVER_NAME",
   "smtp.aol.com");

I have received all sorts of suggestions on how to by-pass this, and I have come up with a few myself.

But I still feel smtp should be a command in mail().

Not that Perl was the end all and be all, but it can, so why shouldn't PHP? PHP was developed by those who felt Perl ASp etc were antiquated. This was just a small thing that still could be useful ?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-30 05:17 UTC] derick@php.net
Duplicate of 10629, which is closed.

Derick
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Sep 19 15:01:27 2024 UTC