Email to SMS with Synology or Docker
Many devices can only send email alerts: printers, cameras, routers, UPS units, older monitoring tools. The curl-sms app for Synology NAS and the curl-sms Bridge (Docker, Linux, Windows, macOS) have an SMTP input that turns those mails into SMS. Both run in your home or office network.
How it works
Send an email to <number>@<anything>, for example +4915123456789@nas. The subject and/or the body (your choice) become the SMS text, sent through your curl-sms account.
Set up the device's mail settings like this:
| Setting | Value |
|---|---|
| SMTP server | IP address of your NAS or bridge |
| Port | 2525 (adjustable) |
| Encryption and login | none |
| Recipient | +4915123456789@nas (or 004915123456789@nas) |
Test it from any machine in your network:
printf 'Subject: UPS on battery\r\n\r\nPower failure in the server room.\r\n' |
curl smtp://<host>:2525 --mail-from ups@example.com \
--mail-rcpt "+4915123456789@nas" --upload-file -
Security
- The input is off by default. Switch it on under Inputs → Email (SMTP).
- Only connections from private network addresses are accepted; in IP-list mode only from the listed addresses.
- An optional sender list restricts which addresses (or
@domain) may send. - Do not expose port 2525 to the internet.
Tips
- Set SMS text from to Subject for devices that put long boilerplate into the body.
- Long mails are cut to 10 SMS parts; attachments are ignored.
- The SMS appears in the history with status and price.
There is no cloud email address at curl-sms.com for this; email to SMS runs through the Synology app or the bridge. Scripts can call the SMS API directly.
Details: Synology app docs · Bridge docs.