Okay,
I am working on an Intranet.
I need to have some forms on it sent to username@localhost .
the mail is checked thru a SSH to the box with MUTT.
my problem is mail ()
if i use this:
mail('username@localhost','The Subject','The Message');
all works fine... but if i try to set some variables first, and use them in the mail line, it sends, but the variables don't make it in...
$subject = "This is from the form";
$message = "This is the body of the message from the form";
mail('username@localhost',$subject,$message);
What gives?
the end result is i have the message in my inbox, but the subject and message are blank.
Help?
Beavis2084