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...
> Thanks in advance,
> Brad

John Taylor-Johnston
  ' ' '   Collège de Sherbrooke:
   -     Université de Sherbrooke:


PHP General Mailing List (
To unsubscribe, visit:

Reply via email to