Your smtp is valid? Try error checking for that? See you php.ini. If you are
running it on localhost you might try the same smtp that is used in your
emailer. I gaffed on that once. :)

Brad Wright wrote:

> Hi all... I have a line in a page that should send me an email when the page
> is loaded.
>
> Here is the line i am using:
>
>  mail("[EMAIL PROTECTED]", "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...
>
> I AM GOING INSANE!!!!!!!!
>
> Thanks in advance,
> Brad

--
John Taylor-Johnston
-----------------------------------------------------------------------------
  ' ' '   Collège de Sherbrooke:
 ô¿ô   http://www.collegesherbrooke.qc.ca/languesmodernes/
   -     Université de Sherbrooke:
          http://compcanlit.ca/
          819-569-2064



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to