Actualiser php/send_message_client.php

This commit is contained in:
Moncef STITI 2024-04-17 21:51:23 +02:00
parent 79480a0123
commit 6ff15d2c68

View File

@ -19,14 +19,14 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
$mail->isSMTP();
$mail->Host = 'smtp.gmail.com';
$mail->SMTPAuth = true;
$mail->Username = 'neoeat.sav@gmail.com';
$mail->Password = 'zann afaj cnus tifc';
$mail->Username = 'CONFIDENTIEL';
$mail->Password = 'CONFIDENTIEL';
$mail->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS;
$mail->Port = 465;
$mail->setFrom($email, $name);
$mail->addAddress('neoeat.sav@gmail.com', 'Neo Eat');
$mail->addAddress('CONFIDENTIEL', 'Neo Eat');
$mail->isHTML(false);