Path : /home/dent/public_html/_demos/ |
Current File : /home/dent/public_html/_demos/email.php |
<?php exit(); $to = "dent@usc.edu"; $subject = "Test email2"; $message = "Test email part 2"; $test = mail( $to, $subject, $message ); echo $test; if ($test == 1) { echo "Email sent to " . $to; } else { echo "ERROR. Email NOT sent"; }