Initial commit for radiantprestation project
This commit is contained in:
38
Framework/Ebenegmail.php
Normal file
38
Framework/Ebenegmail.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
// date_default_timezone_set('Etc/UTC');
|
||||
// date_default_timezone_set("Africa/Kigali");
|
||||
require 'PHPMailer/PHPMailerAutoload.php';
|
||||
|
||||
$mail = new PHPMailer;
|
||||
|
||||
$mail->isSMTP();
|
||||
|
||||
//Enable SMTP debugging
|
||||
// 0 = off (for production use)
|
||||
// 1 = client messages
|
||||
// 2 = client and server messages
|
||||
$mail->SMTPDebug = 0;
|
||||
|
||||
// $mail->Debugoutput = 'html';
|
||||
|
||||
$mail->Host = 'smtp.gmail.com';
|
||||
// $mail->Host = gethostbyname('smtp.gmail.com');
|
||||
// if your network does not support SMTP over IPv6
|
||||
|
||||
$mail->Port = 587;
|
||||
|
||||
$mail->SMTPSecure = 'tls';
|
||||
|
||||
$mail->SMTPAuth = true;
|
||||
|
||||
|
||||
$mail->Username = "intersanteebene@gmail.com";
|
||||
// $mail->Password = "Moritio1973";
|
||||
$mail->Password = "hftebsmxzqviinuh";
|
||||
|
||||
$mail->setFrom('intersanteebene@gmail.com', 'INTER-SANTE : MEDICARE');
|
||||
$mail->addReplyTo('verification@radiant.rw', 'RADIANT INSURANCE COMPANY');
|
||||
|
||||
// à activer en cas de besoin
|
||||
// $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__));
|
||||
|
||||
Reference in New Issue
Block a user