I just moved to a new server with Cpanel, I had a php form that e-mails from the server but now it does not. Any idea what has changed that would send out blank emails?
Thanks,
If it helps here is the script
Thanks,
If it helps here is the script
<?php
//Declare the variables
$recipient = "[email protected]";
$subject = "Form";
$message = "Name: $firstname\nCompany Name: $companyname\nStreet Address: $streetaddy\nCity: $city\nState: $state\nZip Code: $zipcode\nPhone Number: $phonenumber\nFax Number: $faxnumber\nE-mail Address: $email\n\nInformation about property to be appraised (subject property):\n\nBorrower/Owners Name: $ownername\nSubject Address: $subjectaddress\nSubject City: $selectcity\nSubject State: $subjectstate\nSubject Zip Code: $subjectzipcode\nSales Price: $salesprice\nEstimated Value: $estvalue\nLoan Amount: $loanamnt\nProperty Type: $propertytype\nPurpose of Appraisal: $purposeappr\nFormat Needed: $formatneeded\nContact for Access: $contactaccess\nPhone Work: $phonedw\nPhone Home: $phonehome\n\n\nComments: $comments";
//mail() function sends the mail
mail($recipient,$subject,$message,"From: $email");
//Contents of form
$firstname=$_POST['firstname'];
$companyname=$_POST['companyname'];
$streetaddy=$_POST['streetaddy'];
$city=$_POST['city'];
$state=$_POST['state'];
$zipcode=$_POST['zipcode'];
$phonenumber=$POST['phonenumber'];
$faxnumber=$_POST['faxnumber'];
$email=$_POST['email'];
$ownername=$_POST['ownername'];
$subjectaddress=$_POST['subjectaddress'];
$selectcity=$_POST['selectcity'];
$subjectstate=$_POST['subjectstate'];
$subjectzipcode=$_POST['subjectzipcode'];
$salesprice=$_POST['salesprice'] ;
$estvalue=$_POST['estvalue'];
$loanamnt=$_POST['loanamnt'];
$propertytype=$_POST['propertytype'];
$purposeappr=$_POST['purposeappr'];
$formatneeded=$_POST['formatneeded'];
$contactaccess=$_POST['contactaccess'];
$phonedw=$_POST['phonedw'];
$phonehome=$_POST['phonehome'];
$comments=$_POST['comments'];