in reply to How many security holes can you find?
Just a few ones:
line 228: do($smtp) without error checking lines 126, 136: execute without error checking