rendered paste body// class Mail
$subject=StripSlashes($subject);
$nom=StripSlashes($nom);
$nom="Nom:
$nom";
$prenom=StripSlashes($prenom);
$prenom="Prenom:
$prenom";
$adresse=StripSlashes($adresse);
$adresse="Adresse:
$adresse";
$ville=StripSlashes($ville);
$ville="Ville:
$ville";
$telport=StripSlashes($telport);
$telport="Telephone portable:
$telport";
$telfixe=StripSlashes($telfixe);
$telfixe="Telephone fixe:
$telfixe";
$msg=StripSlashes($msg);
$msg="Message depuis votre site web:
$msg";
$varglobal=$nom.$prenom.$adresse.$ville.$telport.$telfixe.$msg
$m= new Mail; // create the mail
$m->From( "$email" );
$m->To( "$dest");
$m->Subject( "$subject" );
$m->Body( $varglobal ); // set the body
if ($email1!="") {
$m->Cc( "$email1");
}
$m->Priority($priority) ;
if ("$NomFichier_name"!="") {
copy("$NomFichier","../upload/$NomFichier_name");
$m->Attach( "../upload/$NomFichier_name", "application/octet-stream" );
}
$m->Send();
if ("$NomFichier_name"!="") {
Unlink("../upload/$NomFichier_name"); }
include "merci.html";
?>