/** * Format a to address, sensitive to the notification service's replyable configuration. * * @param event * @return */ protected String getTo(Event event) { if (NotificationService.isNotificationToReplyable()) { // to site title <email> return "To: " + getToSite(event); } else { // to the site, but with no reply return "To: " + getToSiteNoReply(event); } }