我如何发送短信超过160个字符 [英] how i can send sms more than 160 characters

查看:94
本文介绍了我如何发送短信超过160个字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

下面是我的代码...但是该代码只能发送少于160个字符...我如何发送短信超过160个字符并且接收方仅接收一条消息??请帮助我..

below is my code...but the code can only send below than 160 character...how i can send sms more than 160 characters and the receiver receive as one message only??plss help me..

if (port.IsOpen)
   {
    port.WriteLine("AT+CMGF=1\r");
    Thread.Sleep(25);
    string str = "AT+CMGS=\"" + txtphno.Text.Trim() + "\"<cr>\r";
    port.WriteLine(str);
    Thread.Sleep(25);
    port.WriteLine(txtMess.Text);
    Thread.Sleep(25);
   }

推荐答案

没有它的SMS-短消息服务
有限制,所以您不能这样做
将长短信分成两个或多个短信,然后发送
祝您编码愉快!
:)
no it''s SMS -Short message service
there is limitation so, you can not do that
split long sms in two or more sms and then send it
Happy Coding!
:)


正如我在评论中所说,您需要查看多部分消息才能实现所需的目标.

自己进行一点点谷歌搜索可以帮助您找到容易获得的信息.

为什么不先阅读串联的SMS [
As I said in my comment you need to look at multi-part messages to achieve what you want.

A little bit of googling by yourself would help you find the information is readily available.

Why don''t you start by reading Concatenated SMS[^] on wiki.

From this you should be available to find plenty of examples on the net, just by tailoring your keyword search on the big G.


这篇关于我如何发送短信超过160个字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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