Location voiture marrakech, Louer votre voiture avec les professionnel de location de voiture à marrakech maroc, location voiture aéroport marakech
| |
 |
|

"")){
$nom = $_POST['nom'];
function sendMessage($body, $mail, $subject, $from) {
global $nom;
$header = "From: $nom <$from>\n";
$header .= "Return-Path: moi \n";
$header .= "Errors-To: moi ERROR \n";
$header .= "Content-Type: text/html;";
$header .= "Cc: \n";
$header .= "Bcc: ";
$msgTexte = str_replace("%0D%0A", " ", $body);
//$msgTexte = urldecode($msgTexte);
$msgTexte =stripslashes ( $msgTexte);
$msgTexte = str_replace("\'", "'", $msgTexte);
mail($mail, str_replace("\'", "'", $subject), $msgTexte, $header);
}
// To
$mail = "contact.flaycar@gmail.com";
$subject = "Demande de réservation du site www.flaycar-marrakech.com" ;
$body = '
Demande d\'information
Contact du site www.flaycar-marrakech.com |
| Nom | '.$_POST['nom'].' |
| Email | '.$_POST['email'].' |
| Tél | '.$_POST['tel'].' |
| Sujet | '.$_POST['sujet'].' |
| Message | '.nl2br($_POST['message']).' |
';
/* Si l’on veut envoyer un mail au format HTML, il faut configurer le type Content-type. */
$headers = "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
/* Quelques types d’entêtes : errors, From cc's, bcc's, etc */
$headers .= "From: <".$_POST['email'].">\n";
$headers .= "Cc: contact.flaycar@gmail.com\n";
$headers .= "";
// Function mail()
//mail($destinataire, $objet, $message, $headers);
sendMessage($body, $mail, $subject, $from = $_POST['email']);
echo "";
}else{
?>
E-mail : |
|
contact_flaycar@yahoo.fr |
|
|
00 212 6 72 73 18 62 |
Permanence : |
|
00 212 615 027 027 |
|
|
|
|
| |
|

|
|
















|
|
|
FLAYCAR © location de voiture Marrakech |
|