AT+CMGS SMS Sent in SIM Memory but not able to see mesasge text (using 800L)

Dear Sir,
I am using below code for send sms but SMS Sent sucessfully but save in SIM memory & not able to see message text :

serialSIM800.write(“AT+CMGF=1\r”); //sending SMS in text mode
delay(1000);
serialSIM800.write(“AT+CMGS=“9827927886”\r”);
delay(1000);
serialSIM800.write(“Emergency at IIST\r”); // message
delay(1000);
serialSIM800.write(0x1A);
delay(1000);
Serial.println(“SMS sent successfully”);

Please help.

Mayank Dewangan
9424764006

There is no guarantee that message sent successfully. The code is just printing it after delay.
You should wait for > prompt before you send the text.
Wait for +CMGS : 55 or some number string in code to confirm SMS sent successfully.

Dear Sir, sms sent successfully. But when receive my mobile it will save in sim memory with corrupt formt (not able to see text contents).
Kindly advise.

Share a image of what you are saying corrupt format

@mayankasdf Try reducing delay between instructions.

HI both guru,

i please see screen shot.

thanks

I have one clue for that same.
when i am use below command for any received(in SIM800L) message i working fine(Mean message revived in proper sms).
AT+CMSS=4,“09827927886”.