在C#应用程序中发送短信 [英] In C# application to send sms

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

问题描述

你好,
我正在制作一个ac#应用程序,它将向世界上的任何地方发送短信.调制解调器已连接到服务器.我得到的问题是,如果短信超过160个字符,它将显示一个错误.但我想这样做如果短信超过160个字符,则它将分解成一部分,然后消失.就像172个字符的短信,接收方接收的第一个短信是160个字符,另一个短信是12个字符.
谢谢

问候,
Vishavdeep Goyal

Hello,
I am making a c# application which will send sms to anywhere in the world.A modem is connected to the server.The problem i am getting is if the sms is more than 160 characters it will shows an error.but i want to do like if a sms is more than 160 characters then it will breakdown in parts and then it will go.like a sms of 172 characters the first sms the receiver will receive is 160 characters and another one is of 12 characters.
Thanks

Regards,
Vishavdeep Goyal

推荐答案


它可以帮助您发送多部分SMS.
串联的短信

为此,您可以在Google上获得很多文章.搜索此字符串"Multipart SMS"或"Concatenated SMS".

问候
AR
Hi
It may help you to send Multipart SMS.
Concatenated SMS

You can get so many article on google for this. Search this string "Multipart SMS" or "Concatenated SMS".

Regards
AR


使用PDU和串联的SMS.

用于解码/编码SMS PDU的库 [
Use PDU and concatenated SMS.

Library for Decode/Encode SMS PDU[^]


尝试
发送长SMS/多部分SMS/串联的SMS [
Try
Send Long SMS/Multipart SMS/Concatenated SMS[^]


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

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