OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
knoblysocial
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
06/17/2025 10:17:24 AM
rwxrwxr-x
📄
compose.php
590 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
composer.json
126 bytes
04/09/2025 03:44:12 AM
rw-r--r--
📄
composer.lock
6.06 KB
04/09/2025 03:44:13 AM
rw-r--r--
📄
config.php
430 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
fetch_emails.php
235 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
himanhsu_receive_email.php
1.58 KB
05/19/2025 10:07:16 AM
rw-r--r--
📁
images
-
04/09/2025 03:44:18 AM
rwxr-xr-x
📄
inbox.js
665 bytes
04/09/2025 03:44:14 AM
rw-r--r--
📄
inbox.php
933 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
index.html
7.62 KB
04/09/2025 03:44:14 AM
rw-r--r--
📄
index.php
6.61 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
index1.php
1.13 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
read_email.php
1.2 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
receiveEmail.php
3.46 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
send_email.php
1.29 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
sent.php
1.24 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
ses-email-receiver.php
751 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
simple-log.txt
11.58 KB
04/09/2025 11:28:14 AM
rw-r--r--
📄
sns-log.txt
26.4 MB
06/18/2025 11:30:05 AM
rw-r--r--
📄
styles.css
1.54 KB
04/09/2025 03:44:16 AM
rw-r--r--
📄
test_parser.php
272 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📁
vendor
-
05/19/2025 10:07:16 AM
rwxr-xr-x
📄
view_email.php
471 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
working_send_email.php
1.29 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
zsns-log.txt
14.15 KB
04/09/2025 04:34:35 AM
rw-r--r--
📄
zzreceiveEmail.php
1.38 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
zzsns-log.txt
202.09 KB
04/09/2025 10:51:46 AM
rw-r--r--
Editing: send_email.php
Close
<?php use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; require 'vendor/autoload.php'; include "config.php"; $sender = "info@kchak.com"; $receiver = $_POST['receiver']; $subject = $_POST['subject']; $body = $_POST['body']; // Store email in database $sql = "INSERT INTO emails (sender, receiver, subject, body) VALUES ('$sender', '$receiver', '$subject', '$body')"; $conn->query($sql); // Create PHPMailer instance $mail = new PHPMailer(true); try { // SMTP Configuration $mail->isSMTP(); $mail->Host = 'email-smtp.ap-south-1.amazonaws.com'; // AWS SES SMTP endpoint $mail->SMTPAuth = true; $mail->Username = 'AKIARWSGL3TOGXCYQJVY'; // AWS SES SMTP username $mail->Password = 'BIj9DvNM3uX+cckSX4So50fqln6DEhie6dMJpe3AjzqK'; // AWS SES SMTP password $mail->SMTPSecure = 'tls'; // or 'ssl' if required $mail->Port = 587; // or 465 for SSL // Email settings $mail->setFrom($sender, 'Himanshu Pandey'); $mail->addAddress($receiver); $mail->Subject = $subject; $mail->Body = $body; $mail->isHTML(false); // Set to true if you want to send HTML emails // Send email $mail->send(); echo "Email sent successfully!"; } catch (Exception $e) { echo "Error: {$mail->ErrorInfo}"; } ?>