Midgard Mind Reduction

2004-06-29 Email spammer

I had some good time trying to fix an email spammer today. It seems like it broke when we last time added some new functionalities to it about a week ago but I actually didn't find anything funny about that code and it shouldn't be a problem. Instead I found a lot to fix all around the script...=)

It's an email spammer that sends a notice about updated topics to people that order them and checks also that the people ordering these notices have access to the topics. Anyway the point is that there was a lot of legacy code in there and most of the time I was just trying to understand the guy that wrote the code.

The original code was written by Henri Hovi and then "copy, paste, rewritten" by Bergie and finally rewritten by Kaukola and he propably did some copying and pasting too...well it sure seemd like it. Now it's my time to try and make it better or more like making it work in the first place.

I think I did manage to make it work for now...and I surely hope it will stay that way. There however is still things in the code that need fixing and I have the feeling that it will be me doing it...=)



User comments

Post a comment

Commenting is allowed only for authenticated users