php port of kicksend/mailcheck