I cannot use iMessage on my Mac
MacBook Pro 13" with Retina Display, Mid 2014 with OS X 10.10.5
The iMessage on my Mac can work at the very beginning, but cannot work for the last 2 months. When I tried to send a message, it shows "delivery failure" immediately, or showed "xxx did not register with iMessage". I can send out SMS via Mac, and can use iMessage on my iPhone (iOS 9.1) and iPad (iOS 9.1). I had this problem for the first time in June 2015 (OS X 10.9) on the same Mac, but it recovered without doing anything in August.
MacBook Pro with Retina display, OS X Yosemite (10.10.5)