|
Posted by Jim Carlock on 09/03/06 16:19
I'm messing with the mail() function trying to get some email
through.
I managed to get the email through yesterday, and perhaps
the mail server is slow delivering.
function SendSomeEmailOut() {
// bool mail ( string to, string subject, string message [, string additional_headers [, string additional_parameters]] )
$sToAddr = "someone@example.com";
$sFromAddr = "Some One Else <'someoneelse@example.com'>";
$sEmailSubject = "Sample Subject";
$sEmailBody = "Sample Body";
$yResults = mail($sToAddr, $sEmailSubject, $sEmailBody, $sFromAddr);
return($yResults);
}
$yResults always comes back as true.
Any suggestions are greatly appreciated. Thanks.
--
Jim Carlock
Post replies to the group.
Navigation:
[Reply to this message]
|