Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试通过在 Mac 中从命令行发送消息来测试 imessage。如果接收方的苹果账号是用imessage激活的,则消息发送成功。因此,我们是否可以检查接收者的电子邮件是否被 imessage 激活?
与 osascript:
状态和服务类型
osascript -e 'tell application "Messages" to return {service type, status} of (service of some buddy whose handle contains "buddy@mac.com")'
如果你进入 imessage 并输入电子邮件,它会告诉你它是否是 imessage。