5.25.3 SEND

Your SMS gateway service provider may restrict the length of the message that can be sent to a mobile phone. The SMSService will pass whatever information you place in the MSG keyword to the provider. It is your responsibility to ensure that the amount of data can be handled by the provider. Your provider will be able to advise you on any restrictions that they might have.

Syntax:

Command

Keyword

Value

Developer notes

SEND

TO

value

Required. The telephone number of the mobile phone you wish to send the SMS message to.
For example, +6091234567.

MSG

value

Required. The message that you wish to send.

CID

value

Optional. Bulker.

MSGID

value

Optional. Bulker.

DATE

value

Optional. Bulker.

VALIDITY

value

Optional. Bulker.

CASE

value

Optional. Bulker.

MCCLASS

value

Optional. Bulker.

RETURNID

value

Optional. Kapow.

TYPE

value

Optional. ViaNett.

GROUP

value

Optional. ViaNett.

CAMPAIGN

value

Optional. ViaNett.

TELEOP

value

Optional. ViaNett.

PRIORITY

value

Optional. ViaNett.

NOTIFY

value

Optional. ViaNett.

CUSTOM

value

Optional. Text Marketer.

VALIDITY

value

Optional. Text Marketer.

SCHEDULED

value

Optional. Text Marketer.

OPTION

value

Optional. Text Marketer.

TYPE

value

Optional. Intelli Software.

MAXCONCAT

value

Optional. Intelli Software.

 

For sending messages to international mobile phones, the format of the number in the TO keyword will generally be a plus sign (+), followed by the country code, followed by the phone number itself. For messages to local numbers, generally the country code is not required although it will still work if you include it. You should confirm with your provider exactly what the required format is.

Example

SEND TO(+6091234567) MSG(Test message)

 

SEND TO(+6091234567) MSG(Test message) CID(739) MSGID(97953)