Sending E-mails with PHP
August 7, 2007 6:57 AM Subscribe
How do I get PHP to send an e-mail. Is there a way to do it without recompiling PHP/Apache. If not, how do I recompile PHP/Apache on a linux system to do this?
How do I get PHP to send an e-mail. Is there a way to do it without recompiling PHP/Apache. If not, how do I recompile PHP/Apache on a linux system to do this?
Ideally, I would like to find a way without recompiling my software, but if there is not other way, I can recompile the software.
posted by kaozity to computers & internet (11 answers total)
if (mail($to, $messageSubject, $messageBody, $messageHeaders)){
echo "success!";
}
else
{
echo "message delivery failed";
}
posted by Blazecock Pileon at 7:01 AM on August 7, 2007