Get security system SMS on SIM900A module

Hello Guys,
I have some problems using SIM900A module on Arduino to get some security system SMS
Because this project will used in 20kV electricity line.
This project as backup control
The module has been received message and send message after doing action

There are some problems

  1. I send message to the module when power of module OFF. Then I turn ON power module. The message is received by module. It should be not received. I want the message is not received.
  2. When I send message to the module, the network of provider is down so the message can not received by module in same time (pending message). I want the message wouldnt reveived anymore.

Please some body help me. I waitin for ur discussing