ID: 10629
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: Feature/Change Request
Description: SMTP: mail() the fifth parameter

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.

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

[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.

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


Full Bug description available at: http://bugs.php.net/?id=10629


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to