Detect local ip and email.Implemented in Qt. The email of sina.cn has been tested.