ID: 10629 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -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] [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