从C#应用程序发送短信 [英] Sending sms from a c# application

查看:107
本文介绍了从C#应用程序发送短信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以通过连接到任何网站(例如way2sms.com,ipipi.com等)从c#形式向手机发送短信?
我想在不使用任何数据库或GSM调制解调器的情况下执行此操作.
请帮忙.预先谢谢您.

Is there a way to send sms to a cell phone from a c# form by connecting to any website such as way2sms.com, ipipi.com, etc ?
I want to do this without using any database or a GSM modem.
Please help. Thank you in advance.

推荐答案

查看此处:
如何使用SQL数据库从C#发送SMS消息 [如何使用SQL数据库从C#发送SMS消息 [使用GSM调制解调器和AT在C#.NET中发送SMS(注意)命令 [ ^ ]

更新:
所有网站/过程都使用GSM调制解调器,而不仅仅是电话内的一个.试想一下,您必须将短信从GSM网络外部发送到GSM网络中.您需要一个能够翻译您的消息并且知道协议并且可以连接到GSM网络以便进行传送的设备.翻译部分可以通过软件来完成,但是连接起来,如果您想重新发明轮子,那将是一件痛苦的事情.
Look here:
How to Send SMS Messages from C# using an SQL Database[^]
How to send SMS messages from C# using an SQL database[^]
Sending SMS in C#.NET using GSM Modem and AT(ATtention) Commands[^]

UPDATE:
All website/process use a GSM modem, just not one that''s inside a phone. Just think that you must send a text message from outside the GSM network into a GSM network. You need a device that translates your message and that knows the protocol and that can connect to the GSM network in order to deliver. The translation part can be done through software but the connection, it would be a pain if you''d want to reinvent the wheel.


您只想解析网站中的way2sms之类的内容. C#代码并为其编写函数.因此,只需调用该函数并发送短信即可.
Just you want to parse the site such as way2sms in c# code and write a function for it. So just call that function and send sms.


您发送的所有链接都说明了如何使用SQL数据库或GSM调制解调器发送短信.我想使用某种网络服务.
All of the links that you have sent explains how to send sms either using a SQL database or a GSM modem. I wanted to use some kind of a web servie.


这篇关于从C#应用程序发送短信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆