Receiving, handling and sending SMS messages