SMSCMD: Send SMS from Command Line
Windows & Linux • No Installation
The easiest way to send SMS from Command Prompt / shell. UTF-8/Unicode supported. Call it from any program C/C++/C#/Java/VB, cron, or Task Scheduler — with optional enhanced 2‑way SMS and MMS reply forwarding (USA & Canada).
Key capabilities
Built for automation, operations, and customer workflows.
-
✓Enhanced 2‑way SMS (USA & Canada)Reply SMS is forwarded to your email inbox along with the original sent SMS (includes phone/text/timestamp).
-
✓MMS reply forwarding pictures/audio/MP4 (USA & Canada)Let clients reply with payment screenshot / ID / license photos — MMS is forwarded to your email with the original SMS context.
-
✓Block list managementAuto add into block list when STOP keyword is replied; callers can hear voice guidance to reply STOP to opt out.
Usage
Copy/paste examples for Windows and Linux.
Basic
Send to one or multiple numbers (comma-separated).
smscmd "hello" "7186791234,+447121027123"
With credentials
Pass registered email and password directly.
smscmd "sms text" "7186791234,+447121027123" "registered@smartbooth.com" "abc123"
Debug mode
See what string will be passed without sending.
smscmd "test" "7186791234" -debug
Text/phone input from files
You can also send using file inputs: see sample.
smscmd "text.txt" "phone.txt"
Windows
Download, unzip, run. No installation required.
- Download and unzip smscmd.zip → smscmd.exe, readme.htm, smscmdfile.txt
- Run from Command Prompt. Easy to be called by any type of program or scheduler.
- Message is up to 155 chars. Local number or global with leading +.
- Usage help:
smscmd help - Code samples (Java/VB/VC++/C#): open
smscmd "sms text" "7186791234,+447121027123" "registered@smartbooth.com" "abc123"
smscmd genkey to encrypt into smscmd.key so you can share the key file with your team more safely.
Linux
Download, unzip, run. No installation required.
- Run directly in Linux shell. No installation required.
- Supports direct login parameters or encrypted credential file mode.
- Use
smscmd genkeyto create smscmd.key from smscmdfile.txt. - Good for cron jobs, backup alerts, monitoring tools, and server automation.
# unzip package unzip smscmd_linux.zip # send SMS with inline credentials ./smscmd "this is a test" "4357501234,+447748071234" "your@email.com" "password" # generate encrypted key ./smscmd genkey rm smscmdfile.txt # send SMS using encrypted credentials ./smscmd "test message from encrypted file" "4357501234,+447748071234"
Integration Examples
Use local command calls or call the SmartBooth HTTPS API directly.
cURL
curl "https://www.smartbooth.com/smsmail/php/sendsmsen1.php?email=your_email@example.com&pwd=your_password&text=hello&to=1234567890"
Script Calls
perl smscmd.pl "text" "phone1,phone2" python smscmd.py "text" "phone1,phone2" php smscmd.php "text" "phone1,phone2"
Use Cases
- Server and network alerts
- Backup success or failure notices
- Scheduled task notifications
- Application error reporting
HTTPS API Example
Call the SmartBooth SMS endpoint directly by HTTPS GET.
https://www.smartbooth.com/smsmail/php/sendsmsen1.php?email=your_email@example.com&pwd=your_password&text=hello&to=1234567890
Endpoint: smsmail/php/sendsmsen1.php
Method: GET
Recommended: always use HTTPS
Credential File Security
Safer deployment with encrypted key file.
vi smscmdfile.txt ./smscmd genkey rm smscmdfile.txt
After generating smscmd.key, you can move only the executable and the encrypted key file to the target system for a cleaner and safer setup.
2‑way reply examples (USA & Canada)
Replies arrive in your inbox with the original SMS context.