Invia SMS: Logic and structure