In today’s mobile world, people just assume every phone number is a cell phone… even if it’s clearly listed as “office” on your business card. And, in most cases, if the phone number belongs to a corporate phone system, or PBX, any text messages sent to that number are lost forever in the great bitbucket in the sky. Until now, that is! If you happen to be using Flowroute as your back-end trunking provider, you can now receive any SMS text message via email.
Here’s how to do it…
docker run --name flowroute-proxy -p 3000:3000 \
-e TO_EMAIL=bruce@batmail.com \
-e SMTP_PASS=robin4ever \
-e SMTP_USER=bruce@batcave.com \
-e SMTP_HOST=smtp.batcave.com
fredlackey/flowroute-proxy
The settings are all done by environment variables. A complete list is in the Docker Hub:
https://hub.docker.com/r/fredlackey/flowroute-proxy/
Of course, it will be up to you to ensure your DNS and server settings are both setup with a FQDN pointing to that docker container. You’ll also need to have an SMTP account for outgoing messages.