Standard SMS messaging typically won't work in the air since you'll need a cellular network connection. But as long as there's Wi-Fi available on a flight, you'll have some way to communicate with people on the ground.