I’ve seen SMS handling systems but they were quite a cost.
If you did it as an email you could possibly get outlook to do the work for you but it would need to be logged on. Alternatively, you could possibly use EWS to automate this. I don’t think its going to be a simple as it sounds