it entirely depends on the platform of the mobile phone, and the applications you preinstalled before the event occurs. A while back, I had an application which I could use to find my phone was lost stolen, and if the SIM is taken out it would start attempting to hop onto public WiFi and send messages through that. I forget what it was called, but I can't imagine it was the only tool. My phone was android