/// <summary>
        ///
        /// </summary>
        /// <param name="message"></param>
        /// <returns></returns>
        internal static string GetVerifySenderURL(VLMessage message)
        {
            var host = ValisSystem.Settings.Core.SystemPublicHostName;
            var _url = ValisSystem.Settings.Core.VerifyUrl.Url;

            var url = string.Format(@"{0}?code={1}", _url, message.SenderVerificationCode);

            url = string.Format("{0}/{1}", host, url).Replace("//", "/");
            return(string.Format("http://{0}", url));
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="survey"></param>
        /// <param name="collector"></param>
        /// <param name="message"></param>
        /// <param name="recipient"></param>
        /// <returns></returns>
        internal static string GetRemoveRecipientLink(VLSurvey survey, VLCollector collector, VLMessage message, VLRecipient recipient)
        {
            var url = GetRemoveRecipientURL(survey, collector, message, recipient);

            return(string.Format("<a href=\"{0}\">{0}</a>", url));
        }
        /// <summary>
        /// Επιστρέφει ένα URL για την αφαίρεση του συγκεκριμένου recipient απο την address list του συγκεκριμένου πελάτη που τρέχει το survey.
        /// </summary>
        /// <param name="survey"></param>
        /// <param name="collector"></param>
        /// <param name="message"></param>
        /// <param name="recipient"></param>
        /// <returns></returns>
        internal static string GetRemoveRecipientURL(VLSurvey survey, VLCollector collector, VLMessage message, VLRecipient recipient)
        {
            var host = ValisSystem.Settings.Core.SystemPublicHostName;
            var _url = ValisSystem.Settings.Core.RemoveUrl.Url;

            var url = string.Format(@"{0}?rkey={1}&pid={2}&cid={3}&lang={4}", _url, recipient.RecipientKey, survey.PublicId, collector.CollectorId, BuiltinLanguages.PrimaryLanguage.LanguageId);

            url = string.Format("{0}/{1}", host, url).Replace("//", "/");
            return(string.Format("http://{0}", url));
        }