Path : /home/dent/public_html/emailing/ |
Current File : /home/dent/public_html/emailing/email_complete.php |
<?php $to ="dent@usc.edu"; // email to send it to.. so probably YOUR email include '../pdloginvariables.php'; $subject = "Sample email"; $message = "This is a test email!\r\r". "Did it come through?"; exit("<hr><h2>disabled</h2><hr>"); $result = mail($to, $subject, $message); if($result=1) { echo "tried to send the email. The response was " . $result; } else { echo "ERROR. Email did not go through"; // php code: EMAIL webmaster; }