Direct answer
Not regular SMS, with this Mac alone. What Messages can do by itself is iMessage, sent and received at the email address of your Apple Account; SMS has to be forwarded by an iPhone on the same account.
Basis
- Messages carries two kinds of message: iMessage goes through Apple's service and only travels between Apple devices; SMS goes over a carrier's cellular network. A Mac has no cellular modem, so it can neither send nor receive SMS by itself.
- SMS shows up on a Mac because an iPhone has Text Message Forwarding turned on and is signed in to the same Apple Account as the Mac. That requires the iPhone to be powered on and online; when the phone is off or offline, SMS stops arriving on the Mac.
- Using a phone number as an iMessage address is likewise registered by the iPhone that holds that SIM. Without an iPhone you can only use an email address, and the recipient sees an email address as the sender, not a number.
- The machine has no SIM card and comes with no phone number. We do not provide numbers, and we do not provide any service for receiving verification codes.
Boundaries: when the answer is different
If you already have an iPhone and are willing to sign it in to the same dedicated Apple Account as the remote Mac, Text Message Forwarding can work, but how reliable it is depends on the phone staying online and on Apple's service, and we cannot guarantee it. There is also a kind of request where the answer is a plain no: using this machine to receive verification codes in bulk or to register accounts in bulk is circumventing third-party platforms' security mechanisms. It is a prohibited use and can lead to suspension of the machine and termination of service. Forwarding your own personal verification texts to the Mac to read them is normal use, but do not hand messages containing codes to scripts of unknown origin. For setup, follow Apple's Messages User Guide.
How to do it
- First decide whether your process needs iMessage or SMS; the two have completely different prerequisites.
- iMessage only: sign in to a dedicated Apple Account on the remote Mac, send and receive at the email address, and test one message by hand.
- SMS needed: sign in to the same account on your own iPhone, turn on Text Message Forwarding following Apple's instructions, and select this Mac.
- Keep the phone powered on and online, and watch for a day or two to see whether any forwarded messages go missing.
- Before you end the rental, remove this Mac from the forwarding list on the iPhone and sign out of the account on the Mac.
Related questions
- iMessage, AppleScript and Shortcuts on a rented Mac mini: it runs, but Apple decides about your account
- Can I automate iMessage and AppleScript on a rented Mac mini?
- Will using iMessage on a rented Mac mini get my Apple account restricted?
- Can I use a rented Mac mini to send bulk iMessage marketing?
- Can I sign in with my own Apple Developer account on a rented Mac?
Use case
This question belongs to the use case: iMessage, AppleScript and Shortcuts on a rented Mac mini: it runs, but Apple decides about your account
Other questions in the same use case:
- How do I tell whether a macOS app can be controlled by a script?
- Can AppleScript run JavaScript in Safari or Chrome on a remote Mac?
- AppleScript vs Shortcuts vs JXA: which to use for automation on a remote Mac?
- launchd or cron: which should I use for scheduled jobs on a remote Mac?
Pricing and availability: see the plans page · Help center (中文) · Refund policy (中文) · Telegram Contact support