Ejemplo n.º 1
0
        // Token: 0x06002ADE RID: 10974 RVA: 0x000F1774 File Offset: 0x000EF974
        protected void InitializeReadMessageFormElements()
        {
            bool flag  = false;
            bool flag2 = false;
            bool flag3 = false;

            JunkEmailUtilities.GetJunkEmailPropertiesForItem(this.Message, base.IsEmbeddedItem, base.ForceEnableItemLink, base.UserContext, out this.isInJunkEmailFolder, out flag, out flag2, out flag3);
            this.isSuspectedPhishingItemWithoutLinkEnabled = (flag && !flag2);
            this.toolbar             = new ReadMessageToolbar(base.IsInDeleteItems, base.IsEmbeddedItem, this.Message, this.isInJunkEmailFolder, flag, flag2, true, this.IrmItemHelper != null && this.IrmItemHelper.IsReplyRestricted, this.IrmItemHelper != null && this.IrmItemHelper.IsReplyAllRestricted, this.IrmItemHelper != null && this.IrmItemHelper.IsForwardRestricted, this.IrmItemHelper != null && this.IrmItemHelper.IsPrintRestricted);
            this.toolbar.ToolbarType = (base.IsPreviewForm ? ToolbarType.Preview : ToolbarType.Form);
            if (flag3)
            {
                this.bodyMarkup = Markup.PlainText;
            }
            this.recipientWell = new MessageRecipientWell(this.Message);
            RenderingUtilities.RenderReplyForwardMessageStatus(this.Message, this.infobar, base.UserContext);
        }