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

From: Date: Mon, 29 Apr 2002 16:24:48 +0000
Subject: Bug #10629 Updated: SMTP: mail() the fifth parameter
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-6474@lists.php.net to get a copy of this message
ID: 10629 Updated by: jimw@php.net Reported By: jtjohnston@courrier.usherb.ca -Status: Open +Status: Closed Bug Type: Feature/Change Request Operating System: Windows PHP Version: 4.0.5 New Comment: you can use ini_set() to set the smtp server dynamically. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#6474) next »