Component Object Model (COM) API
Please note: COM API does not support 64 bits system.
COM DLL: RedoxygenCOM.dll
COM Interface: REDOXYGENCOM.SMS
Installation
Copy the RedoxygenCOM.dll to a directory and register the component with this command:
regsvr32 RedoxygenCOM.dll
Example
Dim RedOxygenComponent As Object
Set RedOxygenComponent = CreateObject("REDOXYGENCOM.SMSInterface")
With RedOxygenComponent
.AccountID = "CI00001234"
.Email = "username@company.com"
.Password = "secret"
End With
RedOxygenComponent.SendSMSMessage "0410123456,0410123457,0410123458", "Hello from Red Oxygen COM object"
Properties
Name | Type | Description | Example |
---|---|---|---|
AccountId | String | This is your Red Oxygen Account ID, which uniquely identifies your account. | CI00000001 |
String | This is the email address of your Red Oxygen user account. It is also the address that will receive replies to the sent SMS. | username@company.com | |
Password | String | This is the password of your Red Oxygen user account. | secret |
ProxyAddress | String | This is the IP address or machine name of your proxy server. | 192.168.0.1 |
ProxyPassword | String | This is your proxy server password. | secret |
ProxyPort | Long | Specifies what port your proxy server uses. | 8080 |
ProxyType | Long | Sets whether you use proxy server: 0 = No proxy (default), 1 = Use Internet Explorer settings, 2 = Specify your proxy server. | 1 |
ProxyUserName | String | This is your proxy server username. | proxy |
Methods
Name | Parameters | Type | Description |
---|---|---|---|
SendSMSMessage | Recipient, Message | Integer | Send a text message to a single recipient or multiple recipients, use comma to separate recipients. A single SMS has a maximum length of 160 characters. If the message is greater than 160 characters then multiple SMS will be sent as a concatenated SMS which will result in an additional charge for the additional messages. The maximum length of a message is 765 characters. |