protected void btnFinish_Click(object sender, System.EventArgs e)
        {
            ShowView();
            try
            {
                if (NotifySetting != string.Empty)
                {
                    char[] splitter = { ';' };

                    string[] emails = NotifySetting.Split(splitter);

                    if (emails.Length > 0)
                    {
                        AdvancedHTML htmlEmail = new AdvancedHTML();
                        System.Collections.Generic.Dictionary <string, string> fields = new System.Collections.Generic.Dictionary <string, string>();
                        fields.Add("##PageName##", CurrentPortalPage.Name);
                        fields.Add("##PageID##", CurrentPortalPage.PortalPageID.ToString());
                        fields.Add("##ContentArea##", CurrentModule.TemplateFrameName);
                        fields.Add("##ModuleName##", CurrentModule.Title);
                        fields.Add("##UserID##", CurrentUser.Identity.Name);
                        fields.Add("##Link##", "http://" + Request.Url.Host + "/default.aspx?page=" + CurrentPortalPage.PortalPageID.ToString());
                        foreach (string email in emails)
                        {
                            htmlEmail.Send(email, fields);
                        }
                    }
                }
            }
            catch (System.Exception ex)
            {
                throw new ArenaApplicationException("Error occurred during while trying to send notification of your content changes.", ex);
            }
        }
 public void Start(EncryptionSettingsProto encryptionSettingsProto)
 {
     NotifySetting.Publish(encryptionSettingsProto, CacheNotifyAction.Insert);
 }