Esendex provides this simple application that can be used to send messages from a Windows desktop. This small application differs from PC SMS as it is executable from the command line. This means that it can be called, for example, from batch files or system monitoring tools.
System Requirements
- A Windows computer with the Microsoft .Net Framework 1.1 Runtime installed
- A live Esendex account with a valid username and password
- Proxy authentication details if you have a proxy that requires them
- An internet connection
Installation
- Download the SendMessageConsole application from the Tools and Utilities section of our Downloads page
- Unzip the file to a directory of your choice. The files within the zip file must be unzipped to the same directory.
- Open the file SendMessageConsole.exe.config in a text editor and edit it to include your Esendex username, password, and account details
- Enter any proxy information into the configuration file if required
- Save the configuration file
Usage
The application requires two command line parameters:
- A recipient mobile number (or a comma separated list of mobile numbers)
- The message to send
The first parameter must be the mobile number you wish to send the message to. If you need to send the message to more than one person, separate the mobile numbers with a comma. Do not put any spaces between the mobile numbers as this will affect how the application determines where the message text starts.
After the recipient(s), leave a space and enter the message to send. This message can be up to 160 characters in length, unless you have the Account Option Allow API Long Messaging enabled on your account. This option can be set in the API / SDK section of the Options page when you are signed into the Esendex website. With this option set you can send messages up to 612 characters, but this will debit your account multiple messages if the text goes over 160 characters.
Here is a valid command line option:
SendMessageConsole.exe 447812341234,447812341235 This is a test message
Configuration File Details
Please view the Configuration File page for a description of the settings which can be applied.