playSMS Forum

Make message trimming optional

Hi folks, thank you for sharing such amazing project!
There are little question in title - is there any way to omit message whitespace trimming,
i.e. if we send " 1234" - message should be delivered as is, not as “1234”. May be there is some option I’m missing in configuration? It’s need to send SMS for some M2M devices, which has ugly format, requiring spaces as prefix…

u have to locate where trim is done, probably in


and remove it