简体   繁体   English

从 PC 发送 SMS 消息,就像通过电话发送它们一样

[英]Send SMS messages from PC as if you were sending them by phone

Hello everyone my question is very specific I'm not asking how to send sms for free, obviously it would not make sense, much less no method with gateway that many telephone companies have blocked as an anti spam method to date, but I'm asking for example through api di telegram it is possible through form php and json to send from the software a message that arrives to the recipients as if you had sent it by smartphone.大家好,我的问题非常具体,我不是在问如何免费发送短信,显然这没有意义,更不用说没有网关的方法,许多电话公司迄今已将其作为反垃圾邮件方法阻止,但我是例如,通过 api di 电报询问,可以通过表格 php 和 json 从软件向收件人发送一条消息,就像您通过智能手机发送一样。

The question is: how can you send text messages with php, which connect to your tariff plan as if you were sending them by phone, thanks问题是:您如何使用 php 发送短信,它连接到您的资费计划,就像您通过电话发送一样,谢谢

Although I think your question is quite ambiguous I'd suggest 2 possible ways depending on your priority.尽管我认为您的问题很模棱两可,但我会根据您的优先级提出两种可能的方法。

  1. If your main priority is using certain tariff plan (like using cheap SMS on certain simcards etc.) - your need to connect your simcard(s) to PC/server with GSM-modem or similar hardware.如果您的主要优先事项是使用某些资费计划(例如在某些 SIM 卡上使用便宜的 SMS 等) - 您需要使用 GSM 调制解调器或类似硬件将您的 SIM 卡连接到 PC/服务器。 Then interact with it by COM-port etc. Also you may want to ask your GSM-carrier if you can use your tariff plan (simcard account) via some API but it's extremely low chances for positive reply.然后通过 COM 端口等与之交互。此外,您可能想询问您的 GSM 运营商是否可以通过一些 API 使用您的资费计划(simcard 帐户),但肯定回复的机会极低。 The API in most cases is not related to a simcard tariff plans but it do relates to some standalone Sms service. API 在大多数情况下与 simcard 资费计划无关,但它确实与一些独立的短信服务有关。

  2. If you main priority is the Number which your recipients may use for replies, you can look for SMS APIs with Virtual Long Number available.如果您的主要优先级是您的收件人可能用于回复的号码,您可以查找具有可用虚拟长号码的 SMS API。 Many service providers allow to send SMS via API using VLN as alphanumeric sender name.许多服务提供商允许使用 VLN 作为字母数字发件人名称通过 API 发送 SMS。 This feature enables you to collect replies.此功能使您能够收集回复。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM