This commit is contained in:
KANE LAZENI 2026-02-18 10:24:14 +00:00
parent 0ed557ba74
commit 0e021dc6d9
6 changed files with 29 additions and 22 deletions

34
Controleur/Ebenegmail.php Executable file → Normal file
View File

@ -1,23 +1,16 @@
<?php
// date_default_timezone_set('Etc/UTC');
// date_default_timezone_set("Africa/Kigali");
require 'PHPMailer/PHPMailerAutoload.php';
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\Exception;
$mail = new PHPMailer;
// Inclusion des fichiers
require 'PHPMailer/Exception.php';
require 'PHPMailer/PHPMailer.php';
require 'PHPMailer/SMTP.php';
$mail = new PHPMailer(true);
$mail->CharSet = 'UTF-8'; // Utiliser UTF-8
$mail->Encoding = 'base64'; // Encodage du contenu
$mail->isSMTP();
//Enable SMTP debugging
// 0 = off (for production use)
// 1 = client messages
// 2 = // dev => client and server messages
// $mail->SMTPDebug = 2; // dev => client and server messages
// 2 = client and server messages
$mail->SMTPDebug = 0;
// $mail->Debugoutput = 'html';
@ -32,10 +25,19 @@ $mail->SMTPSecure = 'tls';
$mail->SMTPAuth = true;
$mail->Username = "intersantesaas@gmail.com";
// $mail->Username = "intersanteebene@gmail.com";
$mail->Username = "radiantinsuranceltd@gmail.com";
// $mail->Password = "Moritio1973";
$mail->Password = "qvix febq ylkp enks";
// $mail->Password = "radiant@123?";
// $mail->Password = "hftebsmxzqviinuh";
$mail->setFrom('intersantesaas@gmail.com', 'INTER-SANTE : EBENE');
$mail->Password = "ybad kjir ghck aokr";
// $mail->setFrom('intersanteebene@gmail.com', 'INTER-SANTE : MEDICARE');
// $mail->setFrom('intersanteebene@gmail.com', 'RADIANT INSURANCE COMPANY');
$mail->setFrom('radiantinsuranceltd@gmail.com', 'RADIANT INSURANCE COMPANY');
$mail->addReplyTo('verification@radiant.rw', 'RADIANT INSURANCE COMPANY');
// à activer en cas de besoin
// $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__));
$_SESSION['c_mail'] = $mail;

17
Cron/Ebenegmail.php Executable file → Normal file
View File

@ -3,9 +3,8 @@
// date_default_timezone_set("Africa/Kigali");
require 'PHPMailer/PHPMailerAutoload.php';
$mail = new PHPMailer(true);
$mail->CharSet = 'UTF-8'; // Utiliser UTF-8
$mail->Encoding = 'base64'; // Encodage du contenu
$mail = new PHPMailer;
$mail->isSMTP();
//Enable SMTP debugging
@ -26,11 +25,17 @@ $mail->SMTPSecure = 'tls';
$mail->SMTPAuth = true;
$mail->Username = "intersanteebene@gmail.com";
// $mail->Username = "intersanteebene@gmail.com";
$mail->Username = "radiantinsuranceltd@gmail.com";
$mail->Password = "Moritio1973";
// $mail->Password = "Moritio1973";
// $mail->Password = "radiant@123?";
$mail->setFrom('intersanteebene@gmail.com', 'INTER-SANTE');
$mail->Password = "ybad kjir ghck aokr";
// $mail->setFrom('intersanteebene@gmail.com', 'RADIANT INSURANCE COMPANY');
$mail->setFrom('radiantinsuranceltd@gmail.com', 'RADIANT INSURANCE COMPANY');
$mail->addReplyTo('verification@radiant.rw', 'RADIANT INSURANCE COMPANY');
// à activer en cas de besoin
// $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__));

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.