|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-05-03 03:59 UTC] jtjohnston at courrier dot usherb dot 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.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 08:00:02 2025 UTC |
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.