Bug #10629 Updated: SMTP: mail() the fifth parameter

From: Date: Tue, 30 Apr 2002 05:32:32 +0000
Subject: Bug #10629 Updated: SMTP: mail() the fifth parameter
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-6534@lists.php.net to get a copy of this message
 ID:               10629
 Updated by:       jtjohnston@courrier.usherb.ca
 Reported By:      jtjohnston@courrier.usherb.ca
-Status:           Closed
+Status:           Open
 Bug Type:         Feature/Change Request
 Operating System: Windows
 PHP Version:      4.0.5
 New Comment:

I still think it should be added as a fifth parameter !
Why would I use ini_set. Not to get into an argument, but why come up
with work arounds?


Previous Comments:
------------------------------------------------------------------------

[2002-04-29 12:24:48] jimw@php.net

you can use ini_set() to set the smtp server dynamically.

------------------------------------------------------------------------

[2002-04-17 16:16:21] bond@syd.eastlink.ca

for sure :) it was kick ass!

------------------------------------------------------------------------

[2001-05-03 04:04:33] jtjohnston@courrier.usherb.ca

It will be real handy if ...

mail() allows smtp specification in the new fifth parameter of mail()

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

If you think about it, Perl's smtp.pm when it was first created did
just this. http://www.faqs.org/rfcs/rfc2821.html
even talks about this
type of portability somewhere.

------------------------------------------------------------------------

[2001-05-03 03:59:08] jtjohnston@courrier.usherb.ca

It will be real handy if ...

mail() allows smtp specification in the new fifth parameter of mail()

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

If you think about it, Perl's smtp.pm when it was created did just this
first.
http://www.faqs.org/rfcs/rfc2821.html talks
about it this type of
portability
somewhere.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=10629&edit=1



Thread (1 message)

  • jtjohnston at courrier dot usherb dot ca
  • Unknown Message
    • jtjohnston at courrier dot usherb dot ca
« previous php.bugs (#6534) next »