Implemented ObjC API for SMTP and POP