Have you set up the [mail function] section of your php.ini file ?

-----Original Message-----
From: Dr. Shim [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 12:11 PM
Subject: [PHP] Troubles With Mail Function

Hello. I'm pretty new to PHP, so if this is a dumb question, or has been
answered already, I'd like to get a link to that answer, or an alternative
on how I can solve the problem. :)

Anyhow, I have a very simple one line script.

    mail("[EMAIL PROTECTED]", "::Urgent Message::", $body);

A form is filled out and thus the $body variable contains the body of the

I get this error:

Warning: Unknown error in c:\program files\apache
group\apache\htdocs\email.php on line 2

I have no idea what the problem could be. Could anybody help me?

Dr. Shim

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

Reply via email to