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.


mail() uses the local sendmail function on a linux box... i'm not sure
exactly what it does on a mac, so i can't directly address your
problem. but if it's doing the same thing as on a linux box, sendmail
can cause several problems. the one i've run into most is that, since
it's sending from your local box rather than an actual mail server, it
often gets caught by spam filters. also, if you send an email that
claims to be from "[EMAIL PROTECTED]" but actually comes from a non
gmail computer, it might get filtered too.

the other problem is that mail() isn't the easiest function to use.
the easiest fix (for both problems) is to use the PEAR::Mail and
bounce it off an SMTP server.


justin
--
http://justinhileman.info

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to