Extended AT Commands Manual Page 45 of 70 2009-06-25
Storing an unsent message in memory, sending it from there, and deleting it:
AT+CPMS? (check memory settings)
+CPMS: "ME",4,10,"ME",4,10,"ME",4,10
OK
AT+CMGW="9501231234" (write message)
> This is the message body^Z
+CMGW: 7 (index number in storage returned)
OK
AT+CMSS=7 (send from storage)
+CMSS: 12 (success: reference value 12 sent from SC)
OK
AT+CMGD=7 (delete message)
OK