. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 213.186.33.4 / Your IP :
216.73.216.146 [
Web Server : Apache System : Linux webm002.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : dealkatnwc ( 662330) PHP Version : 7.0.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/dealkatnwc/www/GDEAL/cron/ |
Upload File : |
<?php
$info['dealer_prenom'] = "ayari";
$info['dealer_nom'] = "karim";
$info["dealer_email"]= "dealka.tn@gmail.com";
ini_set("SMTP","smtp.dealka.tn" );
ini_set('sendmail_from', 'postmaster@dealka.tn');
$repondre_a = 'postmaster@dealka.tn';
$de = 'postmaster@dealka.tn';
$sujet = "Rectification des Deal - Dealka.tn";
//=====Création de la boundary
$boundary = "-----=".md5(rand());
//==========
//=====Déclaration des messages au format texte et au format HTML.
$message_html = "<html><head></head><body>";
$message_html .="
<center><img src='www.gdeal.dealka.tn/pages/images/dealka-logo.png' style='width: 20%;'></center><hr>
Bonjour ". ucfirst($info['dealer_prenom'])." ". ucfirst($info['dealer_nom']).",<br><br>
Gdeal Vous rappelle que vous devez rectifier les deals qui vont expirées dont quelques minutes :<br><br>
<a href='http://gdeal.dealka.tn/pages/editdeal.php#tabDealExp24' target='_blanc'>Cliquez ici</a>
<br><br>";
$message_html .= "Merci.<br><br>";
$message_html .= "<hr>";
$message_html .= "<i><b>Equipe de Dealka.tn </b></i>.</body></html>";
//===== définir le passage enligne selon le serveur de l'adresse mail
if (!preg_match("#^[a-z0-9._-]+@(hotmail|live|msn).[a-z]{2,4}$#", $info["dealer_email"])) // On filtre les serveurs qui rencontrent des bogues.
{$passage_ligne = "\r\n";}
else
{$passage_ligne = "\n";}
//=====Création du header de l'e-mail.
$header = "From: \"Dealka.tn\"<".$de.">".$passage_ligne;
$header.= "Reply-to: \" ".utf8_decode($info['dealer_prenom'])." ".utf8_decode($info['dealer_nom'])." \" <".$repondre_a.">".$passage_ligne;
$header.= "MIME-Version: 1.0".$passage_ligne;
$header.= "Content-Type: multipart/mixed;".$passage_ligne." boundary=\"$boundary\"".$passage_ligne;
//==========
//=====Création du message.
$message = $passage_ligne."--".$boundary.$passage_ligne;
//=====Ajout du message au format HTML
$message.= "Content-Type: text/html; charset=\"UTF-8\"".$passage_ligne;
$message.= "Content-Transfer-Encoding: 8bit".$passage_ligne;
$message.= $passage_ligne.$message_html.$passage_ligne;
$message.= $passage_ligne."--".$boundary."--".$passage_ligne;
mail($info["dealer_email"],$sujet,$message,$header);
?>