I'm having trouble getting mail() to work.
I'm on a Win98 platform running PHP4.06.
when I try to send mail, I'm doing this:
$mailto = "you@foo.com";
$from = "me@foo.com";
$subject = "Any subject";
$body = "Dear Mr. Somebody, Thanks for that thing....";
mail($mailto, $subject, $body, $from)
or die("Could not send mail"
And I get this message in the browser:
Warning: Server Error in C:\Inetpub\webpub\php\email.php
Could not send mail
Please help...
Thanks,
Bryan
I'm on a Win98 platform running PHP4.06.
when I try to send mail, I'm doing this:
$mailto = "you@foo.com";
$from = "me@foo.com";
$subject = "Any subject";
$body = "Dear Mr. Somebody, Thanks for that thing....";
mail($mailto, $subject, $body, $from)
or die("Could not send mail"
And I get this message in the browser:
Warning: Server Error in C:\Inetpub\webpub\php\email.php
Could not send mail
Please help...
Thanks,
Bryan