Re: PHP MAIL function...why wont it work????
| From: | DL Neil | Date: | Fri, 01 Mar 2002 11:58:57 +0000 |
| Subject: | Re: PHP MAIL function...why wont it work???? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-86753@lists.php.net to get a copy of this message | ||
Brad,
> Yep it is a linux box.
Ok, seeing that's 'sweet', go for "KISS"!
See earlier comments about simplifying and once 'plain vanilla' is
working, add back the optional headers/multiple lines, etc. Will be
easier to work out what's breaking things, and then address that issue.
Regards,
=dn
> >> Hi all... I have a line in a page that should send me an email when
> > the page
> >> is loaded.
> >> mail("bradwright@optushome.com.au", "worked", "Line 1\nLine
> >> 2\nLine
> > 3");
> >> when i load the page...i get NO error msgs, but the function does
not
> > send
> >> the mail. There is no record of any activity in the mail log...any
> > ideas...
> >
> > If your server is not a *nix box you need to separate headers with
CRLF
> > (Win) or CR (Mac).
> > What does php.ini say in the mail section?
> > Simplify the msg right down to the barest minimum, get it to work,
then
> > start adding...