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

From: Date: Wed, 17 Apr 2002 20:16:22 +0000
Subject: Bug #10629 Updated: SMTP: mail() the fifth parameter
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-5231@lists.php.net to get a copy of this message
ID: 10629 Updated by: bond@syd.eastlink.ca Reported By: jtjohnston@courrier.usherb.ca Status: Open Bug Type: Feature/Change Request Operating System: Windows PHP Version: 4.0.5 New Comment: for sure :) it was kick ass! Previous Comments: ------------------------------------------------------------------------ [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 (#5231) next »