Merge branch 'main' of git.ebene.ovh:ebene/radiantrh
This commit is contained in:
commit
7a3b689d0b
34
Controleur/Ebenegmail.php
Executable file → Normal file
34
Controleur/Ebenegmail.php
Executable file → Normal file
|
|
@ -1,23 +1,16 @@
|
||||||
<?php
|
<?php
|
||||||
|
// date_default_timezone_set('Etc/UTC');
|
||||||
|
// date_default_timezone_set("Africa/Kigali");
|
||||||
|
require 'PHPMailer/PHPMailerAutoload.php';
|
||||||
|
|
||||||
use PHPMailer\PHPMailer\PHPMailer;
|
$mail = new PHPMailer;
|
||||||
use PHPMailer\PHPMailer\Exception;
|
|
||||||
|
|
||||||
// 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();
|
$mail->isSMTP();
|
||||||
|
|
||||||
//Enable SMTP debugging
|
//Enable SMTP debugging
|
||||||
// 0 = off (for production use)
|
// 0 = off (for production use)
|
||||||
// 1 = client messages
|
// 1 = client messages
|
||||||
// 2 = // dev => client and server messages
|
// 2 = client and server messages
|
||||||
// $mail->SMTPDebug = 2; // dev => client and server messages
|
|
||||||
$mail->SMTPDebug = 0;
|
$mail->SMTPDebug = 0;
|
||||||
|
|
||||||
// $mail->Debugoutput = 'html';
|
// $mail->Debugoutput = 'html';
|
||||||
|
|
@ -32,10 +25,19 @@ $mail->SMTPSecure = 'tls';
|
||||||
|
|
||||||
$mail->SMTPAuth = true;
|
$mail->SMTPAuth = true;
|
||||||
|
|
||||||
$mail->Username = "intersantesaas@gmail.com";
|
// $mail->Username = "intersanteebene@gmail.com";
|
||||||
|
$mail->Username = "radiantinsuranceltd@gmail.com";
|
||||||
// $mail->Password = "Moritio1973";
|
// $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
17
Cron/Ebenegmail.php
Executable file → Normal file
|
|
@ -3,9 +3,8 @@
|
||||||
// date_default_timezone_set("Africa/Kigali");
|
// date_default_timezone_set("Africa/Kigali");
|
||||||
require 'PHPMailer/PHPMailerAutoload.php';
|
require 'PHPMailer/PHPMailerAutoload.php';
|
||||||
|
|
||||||
$mail = new PHPMailer(true);
|
$mail = new PHPMailer;
|
||||||
$mail->CharSet = 'UTF-8'; // Utiliser UTF-8
|
|
||||||
$mail->Encoding = 'base64'; // Encodage du contenu
|
|
||||||
$mail->isSMTP();
|
$mail->isSMTP();
|
||||||
|
|
||||||
//Enable SMTP debugging
|
//Enable SMTP debugging
|
||||||
|
|
@ -26,11 +25,17 @@ $mail->SMTPSecure = 'tls';
|
||||||
|
|
||||||
$mail->SMTPAuth = true;
|
$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
|
// à activer en cas de besoin
|
||||||
// $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__));
|
// $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__));
|
||||||
|
|
|
||||||
BIN
Docs/HR-Portal-Full-Manual-EN.pdf
Normal file
BIN
Docs/HR-Portal-Full-Manual-EN.pdf
Normal file
Binary file not shown.
BIN
Docs/HR-Portal-Full-Manual-FR.pdf
Normal file
BIN
Docs/HR-Portal-Full-Manual-FR.pdf
Normal file
Binary file not shown.
BIN
Docs/HR-Portal-Quickstart-EN.pdf
Normal file
BIN
Docs/HR-Portal-Quickstart-EN.pdf
Normal file
Binary file not shown.
BIN
Docs/HR-Portal-Quickstart-FR.pdf
Normal file
BIN
Docs/HR-Portal-Quickstart-FR.pdf
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user