arduino gsm door alarm

points taken on board.

guess i dont need

"for (int i=100;i>5000;i++);"

if i remove this code should i expect to get SMS each time the door is opened?

"do // You don't want to send out multiple SMSs.... or do you?
{
delay(1);
}
while (1>0);"