In order to send and receive iMessages or SMS on your Mac, you have to enable the feature. It is important that this will only work with iOS 8 or newer and a Mac that Supports Yosemite and El Capitan. Also, ensure that you are using the same Apple ID across all device. Here's how to enable SMS relay on your Mac.