SMS not working when replace delay with millis

Plus there are other AT functions that can make life a lot easier in a real-time system.

May I know which one or what it is called. Thank you in advance!