Actualiser php/send_confirmation_email.php
This commit is contained in:
parent
9b31d2a90f
commit
79480a0123
@ -19,13 +19,13 @@ if (isset($_POST['name']) && isset($_POST['email']) && isset($_POST['phone']) &&
|
||||
$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;
|
||||
|
||||
// Destinataire
|
||||
$mail->setFrom('neoeat.sav@gmail.com', 'Neo Eat');
|
||||
$mail->setFrom('CONFIDENTIEL', 'Neo Eat');
|
||||
$mail->addAddress($_POST['email'], $_POST['name']);
|
||||
|
||||
// Contenu du message
|
||||
|
Loading…
Reference in New Issue
Block a user