Sends an SMS message to a single recipient.
Namespace: Dynmark.Services.WebServicesAssembly: Dynmark.Services.WebServices (in Dynmark.Services.WebServices.dll) Version: 1.0.0.0 (1.0.1.0)
Syntax
| C# |
|---|
public int SendMessageUnicode( string name, string password, string originator, string text, string recipient ) |
| Visual Basic |
|---|
Public Function SendMessageUnicode ( _ name As String, _ password As String, _ originator As String, _ text As String, _ recipient As String _ ) As Integer |
| Visual C++ |
|---|
public: int SendMessageUnicode( String^ name, String^ password, String^ originator, String^ text, String^ recipient ) |
Parameters
- name
- Type: System..::..String
User name
- password
- Type: System..::..String
password
- originator
- Type: System..::..String
A string containing the originator value. This can be either: Numeric: between 7-15 characters, permited characters 0-9. or Alphanumeric: between 3-11 characters 0-9, a-z, A-Z, hypen, underscore, fullstop, ampersand, hash, exclamation mark and space. e.g. MAYFLOWER or +447740101097. If no originator is set this will automatically assign a default inbound telephone number so that the recipient may reply to the message.
- text
- Type: System..::..String
Message text (Unicode or normal)
- recipient
- Type: System..::..String
The mobile number to send the message to
Return Value
The unique transaction reference for a message that has been sent
Remarks
If the message content has characters outside of the GSM 7-bit character set, note that
1 message credit = 70 characters