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

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__));