Sends an SMS message to one or more recipients after a given time.
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 SendMessagesAfter( string name, string password, string originator, string text, string[] recipients, DateTime deliverAfter ) |
| Visual Basic |
|---|
Public Function SendMessagesAfter ( _ name As String, _ password As String, _ originator As String, _ text As String, _ recipients As String(), _ deliverAfter As DateTime _ ) As Integer |
| Visual C++ |
|---|
public: int SendMessagesAfter( String^ name, String^ password, String^ originator, String^ text, array<String^>^ recipients, DateTime deliverAfter ) |
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
- recipients
- Type: array<System..::..String>[]()[][]
The mobile numbers to send the message to
- deliverAfter
- Type: System..::..DateTime
Set the date and time after which the delivery of the message should be attempted.
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