⚡ Fastest way to send SMS from scripts & schedulers
SMSCMD: Send SMS from Command Line
Windows & Linux • No Installation
The easiest way to send SMS from Command Prompt / shell. 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).
Max message: 155 chars
Global numbers: prefix with +
Debug without sending: -debug
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@sms4mail.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, sms4mail.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@sms4mail.com" "abc123"
Security: Update email/password inside sms4mail.txt, then run
smscmd genkey to encrypt into smscmd.key so you can share the key file with your team more safely.
Linux
x86 and ARM downloads, plus Unicode version.
- Run directly. No installation required. Works across common Linux distros.
- Two usage modes: inline credentials, or password from encrypted file.
- Encrypt: run
smscmd genkeyto create smscmd.key from sms4mail.txt.
# Unzip unzip smscmd_linux.zip # Usage (password inline) ./smscmd "this is a test" "4357501234,+447748071234" "registered@hotmail.com" "password1234" # Usage (password from encrypted file) ./smscmd genkey rm sms4mail.txt ./smscmd "test password from encrypted file" "4357501234,+447748071234"
Shell/Perl/PHP/Python sample code:
open •
Linux sample pack:
download
(Perl/PHP/Python call smscmd sample).
perl smscmd.pl 'text' 'phone1,phone2' python smsmcd.py 'text' 'phone1,phone2' php smscmd.php 'text' 'phone1,phone2'
2‑way reply examples (USA & Canada)
Replies arrive in your inbox with the original SMS context.
MMS reply forwarded to your email inbox (pictures/audio/video) with the original SMS.
SMS reply forwarded to your inbox with phone/text/timestamp.