Recent Topics

1 Oct 29, 2006 21:17    

I'd like to see one of these happen. Best is that a form sent via the msgform contact method gets scrubbed against the antispam list. This way a repeat offender isn't going to get through. If that's not possible I would like the IP address of the sender in the mail message so I can ban them at the host level.

2 Nov 06, 2006 09:52

lol, I was under the impression that they were already checked against the blacklist, but apparently not!

htsrv/message_send.php, add the new bits ;)

if( empty( $message ) )
{ // message should not be empty!
	$Messages->add( T_('Please do not send empty messages.'), 'error' );
}
elseif( antispam_check( $message ) )
{
	$Messages->add( T_('Take your spam and shove it up your .......'), 'error' );
}
else
{
	$message .= 'Ip : '.$Hit->IP;
}

¥

3 Nov 06, 2006 15:40

Well thank you much! I'll have myself a little drinkypoo in your honor.

4 Nov 07, 2006 09:21

I hope it was a double :D

¥

5 Dec 04, 2006 16:24

Finally implemented, and yes it was a double (and no it wasn't little).

6 Mar 09, 2007 11:09

You'll be pleased to know that I finally remembered to commit this change ;)

¥

7 Mar 09, 2007 12:31

I'm sure you've already thought of the tiniest detail and committed a flawless piece of code, but

else
{
	$message .= "\n\n".'Message from IP: '.$Hit->IP;
} 

looks much nicer when I receive the email.

And yeah it's nice to know I won't have to hack this going forward. Thanks!

8 Mar 09, 2007 13:06

I went one better and forgot the IP bit :p

¥


Form is loading...