if (preg_match("|\r\n|", $_POST['email'])){
die("Spammer.");
}
if (preg_match("|\r\n|", $_POST['subject'])){
die("Spammer.");
}
//and so on for anything you put into headers.
//body can contain newlines, of course.
On Sat, June 9, 2007 8:22 pm, Austin C wrote:
> how can I tell them not to incl
The return value of http://php.net/mail only says whether or not PHP
managed to queue up the email to go out.
It does *NOT* imply that the email actually went anywhere.
If your server isn't running through the queues and sending the
emails, they don't go out.
If your server is rejecting the emai
2 matches
Mail list logo