Form-To-Email stopped working - Driving me NUTS :)

I have a form-to-email that I have used for at least a year now. Last week, I started getting reports that I haven’t responded to orders. I test myself and find that it doesn’t work now. Strange. I keep looking at this coding and can’t find it - I’m sure it is something stupid, but I can’t track it down. Can anyone help with this?

It is contained all on 1 page - the below coding is the entire page

[php]

<?php if(isset($_POST['t1'])){ // **** CHANGE EMAIL, AFFILIATE ID & AFFILIATE LINK! **** $mymail = '[email protected]'; $cc = 'Website installation (plus124)'; $BoDy = ' '; $FrOm = "From: $_POST[t2]"; $FrOm .= "\r\nReply-To: $_POST[t2]"; $FrOm .= "\r\nX-MAILER: PHP".phpversion(); //Body sends all the sign up info to the $mymail address $BoDy .= 'Website Chosen: '; $BoDy .= $_POST['t1']; $BoDy .= "\n"; $BoDy .= 'eMail Address: '; $BoDy .= $_POST['t2']; $BoDy .= "\n"; $BoDy .= 'Confirm eMail: '; $BoDy .= $_POST['t3']; $BoDy .= "\n"; $BoDy .= 'Hosting Info: '; $BoDy .= $_POST['t4']; $BoDy .= "\n"; $BoDy .= 'Hosting Password: '; $BoDy .= $_POST['t5']; $BoDy .= "\n"; $BoDy .= 'Sign Up Method: '; $BoDy .= $_POST['t6']; $BoDy .= "\n"; $send = mail("$mymail", "$cc", "$BoDy", "$FrOm"); ///Redirect user to your homepage.... if($send) { echo ''; echo ''; echo 'Email send....'; echo ''; } }else{ ?>

**** ALL BODY COING HERE

<?php include 'footer.php'; ?> <?php } ?>

[/php]

If it worked properly before, it could be due to the host upgrading PHP, changing PHP settings or the mail server. Are you hosting this yourself? Using shared hosting?

Sponsor our Newsletter | Privacy Policy | Terms of Service