What is the maximum SMS message length?

前端 未结 3 598
孤独总比滥情好
孤独总比滥情好 2021-01-01 21:50

I am wondering what is the maximum SMS message when sent through Clickatell API for English and for Spanish message?

No sure if there is a difference between English

3条回答
  •  既然无缘
    2021-01-01 22:27

    SMS allows for multiple SMS messages to be strung together (with the length of each reducing to allow for "joining" data). I have experience of sending messages of length of 612 characters (4 SMS messages) - there is a reduction of 7 characters per message segment. On the receiving system the parts may be received out of sequence, with the message only making sense once all parts have been received. The Clickatell API allows this, although their API guide at https://www.clickatell.com/downloads/http/Clickatell_HTTP.pdf recommends a practical maximum of 3 messages it allows up to 35 (see section 4.2.7). So (ignoring unicode for the moment) you can send a message of 35 * 153 = 5355 characters via the Clickatell API. If you are sending unicode characters (which the OP is not) the character count for a single message is 70, reduced by 7 characters for each segment in concatenated message or 63 * 35 = 2205 unicode characters.

提交回复
热议问题