'; if ($msg == 'okay') { echo ""; echo "Sending your email ...
"; $basicHeaders = "From: $fName <$fEmail>"; $subject = "RH contact: $fSubject"; $body = stripslashes ($fBody); function sendMail ($to, $subject, $message, $basicHeaders) { $headers .= "MIME-Version: 1.0\n"; $headers .= "Content-type: text/plain; charset=iso-8859-1\n"; $headers .= "X-Priority: 1\n"; $headers .= "X-MSMail-Priority: High\n"; $headers .= "X-Mailer: php\n"; $headers .= $basicHeaders . "\n"; return (mail ($to, $subject, $message, $headers)); } if (@sendMail ($to, $subject, $body, $basicHeaders)) { $returnString = 'Email sent — thank you!'; } else { $returnString = 'Oops — there was a problem with the server; please try again a little later.
Sorry for the incovenience!'; } echo $returnString; } else { echo "
$msg
"; } echo '


'; } ?>