Author Topic: Anti Spam Hack  (Read 3836 times)

Offline blayde

  • Newbie
  • *
  • Posts: 1
Anti Spam Hack
« on: April 11, 2008, 09:39:50 PM »
I'm working on an anti-spam system that keeps track of how many messages a user has sent in the last hour. If that number goes over a certain amount, I send a mail to myself and disable the account of that particular user.

My problem is with getting sendmail.inc to send two messages. I just kind of copied the smtp_mail() code but on the browser it is stuck with the 'loading' message. If I press escape and reload the inbox, I see the user's mail was sent but not the message to me.

What would be a better way to implement sending two messages in sendmail.inc? Any help would be much appreciated.