Since Macs do not and never have had cellular modems they must rely on an iPhone to send texts over the cellular network. Using Siri AI here is the information and things you need to check.
To send and receive SMS messages on your Mac, you need to enable Text Message Forwarding on your iPhone.
First, make sure both your Mac and iPhone are signed in to the same Apple ID and that iMessage is enabled on both devices. Then, follow these steps on your iPhone:
On your iPhone open Settings->Apps->Messages
Scroll down and tap Text Message Forwarding.
Toggle the switch next to your Mac's name to enable it.
If a six-digit verification code appears on your Mac, enter it on your iPhone to confirm the connection.
Troubleshooting
If you don't see your Mac listed under Text Message Forwarding, try the following:
- Check your Apple ID: Ensure both devices are signed into the exact same Apple Account.
- Enable iMessage: On your iPhone, go to Settings > Messages > Send & Receive and make sure your Apple ID is checked.
- Connect to Wi-Fi: Both your iPhone and Mac must be connected to the internet, and ideally on the same Wi-Fi network.