- Code: Select all
<?php
if($submit){
echo "(Emails has been sent to users)";
}else{
?>
<FORM METHOD="post" ACTION="<?php echo $PHP_SELF?>">
Your Email:<br>
<INPUT TYPE="text" NAME="yemail"><br>
EMAILS:<br>
<INPUT TYPE="text" NAME="email"><br>
Message:<br>
<TEXTAREA NAME="message"></TEXTAREA><br>
<INPUT TYPE="submit" NAME="submit" VALUE="Send Emails">
<?php
mail( $email, "Testing emails", $message, "FROM: $yemail" );
}
?>
See what it does is .. it shows me the echo "(Emails has been sent to users)" but then i check my email.. to see if it got there.. cause i test it out on my self first.. well anyways.. i never the the email...[/code]


