SMS not working when replace delay with millis

This seems to work! Also I just put only 1 millis after AT+CMGS="+6xxxxxxxxxx"\r" replacing delay instead of putting multiple in between mySerial.println