| Current Path : /home/ataenra/www/ATA/INTRANET/Outils/ |
| Current File : /home/ataenra/www/ATA/INTRANET/Outils/CoMail.php |
<?php
//Server settings
// $mail->SMTPDebug = SMTP::DEBUG_SERVER; //Enable verbose debug output
$mail->isSMTP(); //Send using SMTP
$mail->Host = 'smtp.gmail.com'; //Set the SMTP server to send through
$mail->SMTPAuth = true; //Enable SMTP authentication
$mail->Username = 'ata.enr@gmail.com'; //SMTP username
$mail->Password = 'iyjaoyhmexxaiexi'; //SMTP password
$mail->SMTPSecure = 'ssl'; //Enable implicit TLS encryption
$mail->Port = 465; //TCP port to connect to; use 587 if you have set `SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS`
?>