Write sms to queue