The best way to use the Red Oxygen API from Delphi is to use the Red Oxygen DLL.
function SendSMS ( AccountId : String; Email : String; Password : String; Recipient : String; Message : String) : Integer; stdcall; external 'redoxygen.dll'; procedure SendMessage (AccountID, Email, Password, Recipient, Message : String) var Result : Integer; begin Result := SendSMS(AccountID, Email, Password, Recipient, Message); end;
|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.||email@example.com|
|Password||String||This is the password of your Red Oxygen user account.||secret|
|Recipient||String||The destination mobile numbers. Multiple recipients can be specified comma separated.||61409000000,61419718927,61419718972|
|Message||String||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. If you exceed this limit only the first 765 characters of your message will be sent.||Server 23 is offline.|
For more details see the Red Oxygen API – DLL User Guide.