public SenderObtainingServiceResponse ObtainSenderMailbox(string recipients, Guid contactId, Guid categoryId)
        {
            var wrapper = new EmailSenderObtainerWrapper(UserConnection);
            var mailbox = new MailboxSyncSettings(UserConnection);

            try {
                var mailboxName = wrapper.GetSupportMailBox(recipients, contactId, categoryId);
                return(new SenderObtainingServiceResponse {
                    Success = !string.IsNullOrEmpty(mailboxName),
                    MailboxName = mailboxName,
                });
            } catch (Exception e) {
                return(new SenderObtainingServiceResponse {
                    Success = false, Exception = e
                });
            }
        }
 public MailboxSyncSettings(MailboxSyncSettings source)
     : base(source)
 {
 }
 public MailboxSyncSettings(Terrasoft.Configuration.MailboxSyncSettings source)
     : base(source)
 {
     this.CopyEntityLookupProperties(source);
 }