sBosma
18-03-2007, 09:22 PM
The form I made is working, but the email it sends me is blank. The actual form is working, but the mailconfig.php must have something wrong with it. I get an email with the correct subject and 'from email' but the actual email is blank.
Heres the code for mailconfig.php:
<?
$name = $_REQUEST['realname'] ;
$habboname = $_REQUEST['habboname'] ;
$email = $_REQUEST['email'] ;
$hotel = $_REQUEST['hotel'] ;
$job = $_REQUEST['job'] ;
$experience = $_REQUEST['experience'] ;
mail( "MY EMAIL", "Job Application",
$message, "From: $email" );
header( "Location: confirmation.htm" );
?>
This is my first time making a form, so I have NO idea what is wrong. Please help by posting the problem and/or posting the working mailconfig.php code.
Thanks,
sBosma
Heres the code for mailconfig.php:
<?
$name = $_REQUEST['realname'] ;
$habboname = $_REQUEST['habboname'] ;
$email = $_REQUEST['email'] ;
$hotel = $_REQUEST['hotel'] ;
$job = $_REQUEST['job'] ;
$experience = $_REQUEST['experience'] ;
mail( "MY EMAIL", "Job Application",
$message, "From: $email" );
header( "Location: confirmation.htm" );
?>
This is my first time making a form, so I have NO idea what is wrong. Please help by posting the problem and/or posting the working mailconfig.php code.
Thanks,
sBosma