I tried to do this a few years ago and realized there is no reliable way to send myself an SMS without paying a not insignificant monthly fee somewhere. To the point where I might as well just pay for a service that already exists that does this and a lot more.