Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
August 25, 2004, 7:43 pm
rate this thread
lateral thinking capability than me - done my nut over this one...
have written a list manager in PHP which
a) posts out new web bulletin board messages to registered users.
b) recieves emails and posts them to the bulletin board if they have the
right variables in the subject line
The subject line is created by the script and contains the group ID, the
bulletin board message ID and the date ...
looks a bit like this
Re: 'I like big buts and I cannot lie' -- in Booty Officionardo group
when users reply it is still in the subject line so the script knows
where to post the response.
problem is ...
when people have autoresponders turned on they respond with that same
subject line which means we get these stupid 'Im not in right now'
messages posted on the board.
I added some script to ensure that if someone posted twice within 30
seconds no response would go out - ie to stop an infinite loop battle
between my list manager and their auto responder
so the question is ..
how the heck do I work out what is an acutal reply and what is an auto
Re: brain teaser : third brain needed to work this one out
That *is* a tough one!
I'd suggest doing a checksum of the message body, if it is the same as
the last one, it's likely spam or an autoresponse. This would, of course
only work if the message doesn't contain quoted material.
Another thing you might try is a loop counter in the subject of some
sort. (Checking to see if there are responses to their own response)
http://www.geniegate.com Custom web programming
User Management Solutions Perl / PHP / Java / UNIX