芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/hunucma.gob.mx/hunucma/sendemail.php
"; $headers = "From: " . $userName . ""; $msgBody = " Name: ". $userName . " Email: ". $senderEmail . " Phone: ". $userPhone . " Subject: ". $userSubject . " Message: " . $message . ""; $success = mail( $recipient, $headers, $msgBody ); //Set Location After Successsfull Submission header('Location: contact.html?message=Successfull'); } else{ //Set Location After Unsuccesssfull Submission header('Location: contact.html?message=Failed'); } ?>