From 231e3003f6a2e6feb0cf57f7a17de548b17849ef Mon Sep 17 00:00:00 2001 From: vista-man <524715@vistacollege.nl> Date: Fri, 11 Apr 2025 11:23:46 +0200 Subject: [PATCH] Update email configuration to use Gmail SMTP settings --- php/process_ticket.php | 8 ++++---- tmp/.txt | 0 2 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 tmp/.txt diff --git a/php/process_ticket.php b/php/process_ticket.php index 1bd6d4c..f62a591 100644 --- a/php/process_ticket.php +++ b/php/process_ticket.php @@ -107,14 +107,14 @@ $mail = new PHPMailer(true); try { $mail->isSMTP(); - $mail->Host = 'smtp.office365.com'; + $mail->Host = 'smtp.gmail.com'; $mail->SMTPAuth = true; - $mail->Username = 'ticketsopdracht@outlook.com'; - $mail->Password = 'olomnqcnvwfzsrky'; // Replace with the actual password or app-specific password + $mail->Username = 'ilqvw2txgisiayx7ftcb@gmail.com'; // Replace with your Gmail address + $mail->Password = 'uflc vzcy xmgd tfpz'; // Replace with your Gmail app password $mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS; $mail->Port = 587; - $mail->setFrom('ticketsopdracht@outlook.com', 'Spik & Span'); + $mail->setFrom('ilqvw2txgisiayx7ftcb@gmail.com', 'Spik & Span'); $mail->addAddress($email, $name); $mail->isHTML(true); diff --git a/tmp/.txt b/tmp/.txt new file mode 100644 index 0000000..e69de29