如何发送超过160个字符的SMS,并使客户能够使用GSMComm库作为一个SMS接收 [英] How to send SMS with more than 160 characters and enable the customer to receive as ONE SMS using GSMComm library

查看:85
本文介绍了如何发送超过160个字符的SMS,并使客户能够使用GSMComm库作为一个SMS接收的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用C#和GSMCOMM免费API开发SMS系统( http:// www.scampers.org/steve/sms/libraries.htm )发送短信。

I'm developing SMS system using C# and using GSMCOMM free API(http://www.scampers.org/steve/sms/libraries.htm) to send SMS.

由于系统只能发送少于160个字符的短信,因此我

As the system can only send SMS less than 160 characters, I cut the LONG SMS into two messages and send them out.

问题是客户将收到两条SMS,这很烦人。有什么方法可以使客户将其作为一条SMS接收?

The problem is that the customer will receive two SMS, which is quite irritating. Is there any way to enable customer to receive them as one SMS?

推荐答案

如果使用HTTP,则必须将MLC设置为2.

If using HTTP, you have to set the MLC to 2.

消息长度控制:确定消息长度超过移动运营商设置的限制时的系统行为。

Message length control: determines system behavior when the message length exceeds limits set by the mobile operator.

0 –如果消息文本>目标运算符允许的最大值,则拒绝MT。

1 –如果消息文本>目标运算符允许的最大值,则截断MT。

2 –自动在消息文本长度=目标操作员允许的最大长度的点上创建多个MT,以划分消息文本。

0 – Reject the MT if message text > maximum allowed for the target operator.
1 – Truncate the MT if message text > maximum allowed for the target operator.
2 – Automatically create multiple MTs dividing the message text at the point(s) where message text length = maximum allowed for the target operator.

这篇关于如何发送超过160个字符的SMS,并使客户能够使用GSMComm库作为一个SMS接收的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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