public String getTo() { if (messageObject.getRecipientName() == null) { return ""; } else { return messageObject.getRecipientName(); } }