Exemplo n.º 1
0
        public static ReadOnlyUrl SetEmailBouncedNotification(ReadOnlyUrl url, HttpSessionState session)
        {
            var link = new TagBuilder("a");

            link.SetInnerText("Please check that your email address is correct.");
            link.MergeAttribute("href", new ReadOnlyApplicationUrl(true, "~/members/settings").ToString());
            var message = "Your email address has bounced.<br/>" + link;

            return(session.SetNotification(url, NotificationType.Information, message));
        }