ID: 10629 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -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] [EMAIL PROTECTED] you can use ini_set() to set the smtp server dynamically. ------------------------------------------------------------------------ [2002-04-17 16:16:21] [EMAIL PROTECTED] for sure :) it was kick ass! ------------------------------------------------------------------------ [2001-05-03 04:04:33] [EMAIL PROTECTED] It will be real handy if ... mail() allows smtp specification in the new fifth parameter of mail() mail("[EMAIL PROTECTED]", "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] [EMAIL PROTECTED] It will be real handy if ... mail() allows smtp specification in the new fifth parameter of mail() mail("[EMAIL PROTECTED]", "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