From 94b58dd54d26689bb773ab962c471e652bc98d03 Mon Sep 17 00:00:00 2001 From: Aurelius Trisandio Prasetyo Date: Wed, 25 Oct 2023 19:42:33 +0700 Subject: [PATCH] Delete MailManager.php --- MailManager.php | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 MailManager.php diff --git a/MailManager.php b/MailManager.php deleted file mode 100644 index 579bb34..0000000 --- a/MailManager.php +++ /dev/null @@ -1,32 +0,0 @@ -setFrom($fromEmail, $fromName); -$mail->addAddress($toEmail); - -// Set email subject and message -$mail->Subject = $subject; -$mail->Body = $message; - -// Send the email -if ($mail->send()) { - // Jika email berhasil dikirim - echo 'Pesan Anda telah berhasil terkirim.'; -} else { - // Jika ada kesalahan dalam pengiriman - echo 'Pesan Anda tidak dapat terkirim. Error: ' . $mail->ErrorInfo; -} -?> \ No newline at end of file