Exemple #1
0
        public SignatureDto UpdateSignature(int mailbox_id, string html, bool is_active)
        {
            if (!string.IsNullOrEmpty(html))
            {
                var imagesReplacer = new StorageManager(TenantId, Username, MailBoxManager);
                html = imagesReplacer.ChangeSignatureEditorImagesLinks(html, mailbox_id);
            }

            return(MailBoxManager.UpdateOrCreateMailboxSignature(mailbox_id, Username, TenantId, html, is_active));
        }