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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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