On 7/10/07, Justin Giboney <[EMAIL PROTECTED]> wrote:
Is there anything special that a server needs to have to run the mail () function? I have apache running on a mac (10.4.10) with no mail/smtp.
From the PHP manual - http://us.php.net/mail
"For the Mail functions to be available, PHP must have access to the sendmail binary on your system during compile time. If you use another mail program, such as qmail or postfix, be sure to use the appropriate sendmail wrappers that come with them." Note that it says during *compile time*, meaning if sendmail wasn't installed when you compiled PHP, you may need to re-compile. The first thing to check though, is that you have sendmail installed, and that your sendmail_path is set properly in php.ini. Usually it's not necessary to set sendmail_path, but it's a good first step in getting the mail() function to work. Brady _______________________________________________ UPHPU mailing list [email protected] http://uphpu.org/mailman/listinfo/uphpu IRC: #uphpu on irc.freenode.net
