OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
CreatePage
/
template2
/
forms
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
02/24/2025 12:08:09 PM
rwxr-xr-x
📄
Readme.txt
175 bytes
02/24/2025 12:20:59 PM
rw-r--r--
📄
contact.php
1.31 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
newsletter.php
1.22 KB
05/19/2025 10:07:15 AM
rw-r--r--
Editing: newsletter.php
Close
<?php /** * Requires the "PHP Email Form" library * The "PHP Email Form" library is available only in the pro version of the template * The library should be uploaded to: vendor/php-email-form/php-email-form.php * For more info and help: https://bootstrapmade.com/php-email-form/ */ // Replace contact@example.com with your real receiving email address $receiving_email_address = 'contact@example.com'; if( file_exists($php_email_form = '../assets/vendor/php-email-form/php-email-form.php' )) { include( $php_email_form ); } else { die( 'Unable to load the "PHP Email Form" Library!'); } $contact = new PHP_Email_Form; $contact->ajax = true; $contact->to = $receiving_email_address; $contact->from_name = $_POST['email']; $contact->from_email = $_POST['email']; $contact->subject ="New Subscription: " . $_POST['email']; // Uncomment below code if you want to use SMTP to send emails. You need to enter your correct SMTP credentials /* $contact->smtp = array( 'host' => 'example.com', 'username' => 'example', 'password' => 'pass', 'port' => '587' ); */ $contact->add_message( $_POST['email'], 'Email'); echo $contact->send(); ?>