SMSC
| Schemes | smsc:// |
| Cargo feature | service-smsc |
| Service | https://smsc.ru/ |
| Body formats | text (first is the default) |
| Attachments | yes |
| Title length | no title (merged into the body) |
| Body length | 160 characters |
| Body lines | unlimited |
| Request throttle | none |
| Vendor URLs accepted | no |
URL formats
{schema}://{user}:{password}@{targets}
{schema} is one of smsc://.
URL tokens
| Token | Meaning | Type | Required | Default | Notes |
|---|---|---|---|---|---|
{password} | Password | string | yes | secret | |
{target_phone} | Target Phone No | string | no | prefix +; must match ^[0-9\s)(+-]+$ | |
{targets} | Targets | list | yes | any of target_phone; separated by / | |
{user} | Login | string | yes |
Query parameters
| Parameter | Meaning | Type | Default | Notes |
|---|---|---|---|---|
sender | Sender ID | string | ||
to | Targets | list | sets {targets} | |
translit | Transliterate | bool | no |
The common URL parameters (format, overflow, verify, redirect, cto, rto, retry, wait, store, tag, tz, user, password, port, optional, emojis) apply as well.
Examples
Accepted URLs (tokens are fake):
smsc://login:password@+71234567890
smsc://login:password@+71234567890/+79876543210
smsc://login:password@+71234567890?translit=yes
smsc://login:password@+71234567890?sender=MySender
smsc://login:password@+71234567890?to=%2B79876543210
smsc://login:pass@+71234567890?sender=Biz&translit=yes
Rejected URLs:
smsc://
smsc://login@+71234567890
smsc://:password@+71234567890
Send one from the command line:
mercurio -t 'Backup' -b 'Finished in 42s' 'smsc://login:password@+71234567890'
Notes
SMSC (smsc://): SMS through the SMSC API.