简体   繁体   English

gmail从我的应用程序发送短信

[英]gmail to sms from my application

Does anyone know how can i send a sms messsage when e-mails are arriving in a gmail account? 有谁知道当电子邮件通过gmail帐户到达时如何发送短信?

I know some PHP, C/C++ and C#, and I plan to read the new message using POP3. 我知道一些PHP,C / C ++和C#,并且计划使用POP3阅读新消息。 The problem is that I don't know how can I send a SMS message to a mobile phone. 问题是我不知道如何向手机发送短信。 Do I need a SMS server? 我需要SMS服务器吗?

can you give me some advices? 你能给我一些建议吗?

you need to register with and buy credit at some bulk SMS gateway with API. 您需要使用API​​在一些批量SMS网关上注册并购买积分。 personally, i would recommend: http://www.clickatell.com/ which allows to send SMS via email, HTTP/GET/POST, REST, XML etc. 我个人建议: http : //www.clickatell.com/ ,它允许通过电子邮件,HTTP / GET / POST,REST,XML等发送SMS。

Many cell carriers have the ability to send SMS messages to an email address (ie yourphonenumber@telus.com). 许多蜂窝运营商都有能力将SMS消息发送到电子邮件地址(即yourphonenumber@telus.com)。 If you're sending to a specific mobile phone (for keeping an eye on your website, say), this would be something to look into, because it's free and simple. 如果您要发送到特定的手机(例如,为了关注您的网站),那么这是值得研究的,因为它是免费且简单的。 For the general case of sending an SMS to any mobile phone, that's somewhat more complicated. 对于将SMS发送到任何手机的一般情况,这要复杂一些。 You can either hook into an SMS gateway (such as clickatell, as dusoft mentions), or you can attach a GSM modem to your PC and send commands through it. 您可以挂接到SMS网关(如dusoft提到的clickatell),也可以将GSM调制解调器连接到PC并通过它发送命令。

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

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