protected override void StampChangesOnXsoObject(IConfigurable dataObject) { base.StampChangesOnXsoObject(dataObject); MailboxMessageConfiguration mailboxMessageConfiguration = (MailboxMessageConfiguration)dataObject; if (mailboxMessageConfiguration.IsModified(MailboxMessageConfigurationSchema.SignatureHtml)) { mailboxMessageConfiguration.SignatureHtml = TextConverterHelper.SanitizeHtml(mailboxMessageConfiguration.SignatureHtml); if (!mailboxMessageConfiguration.IsModified(MailboxMessageConfigurationSchema.SignatureText)) { mailboxMessageConfiguration.SignatureText = TextConverterHelper.HtmlToText(mailboxMessageConfiguration.SignatureHtml, true); } } else if (mailboxMessageConfiguration.IsModified(MailboxMessageConfigurationSchema.SignatureText)) { mailboxMessageConfiguration.SignatureHtml = TextConverterHelper.TextToHtml(mailboxMessageConfiguration.SignatureText); } if (SyncUtilities.IsDatacenterMode() && mailboxMessageConfiguration.IsModified(MailboxMessageConfigurationSchema.SendAddressDefault)) { SendAsDefaultsManager sendAsDefaultsManager = new SendAsDefaultsManager(); sendAsDefaultsManager.SaveSettingForOutlook(mailboxMessageConfiguration.SendAddressDefault, this.mailboxSession); } this.mailboxSession = null; }
// Token: 0x0600138B RID: 5003 RVA: 0x00078778 File Offset: 0x00076978 public bool TryGetSubscriptionSendAddressId(out Guid subscriptionSendAddressId) { SendAsDefaultsManager sendAsDefaultsManager = new SendAsDefaultsManager(); return(sendAsDefaultsManager.TryParseSubscriptionSendAddressId(this.settingValue, out subscriptionSendAddressId)); }