chore: new feature

This commit is contained in:
mahyargdz
2025-07-21 10:22:58 +03:30
parent a5d28b7f26
commit abfdd1b9e7
5 changed files with 35 additions and 2 deletions
@@ -33,6 +33,8 @@ export class EmailSpamService {
}
}
} catch (_error) {
// Expected: 404 errors occur when the message doesn't exist in this mailbox
// Continue searching other mailboxes
continue;
}
}
@@ -101,7 +103,7 @@ export class EmailSpamService {
await firstValueFrom(
this.mailServerService.domainAccess.addAllowedDomain(domainTag, {
domain: senderInfo.senderDomain,
description: `Auto-allowed due to not-spam report from message ${messageId}`,
// Removed description field as WildDuck API doesn't accept it for allowlist operations
}),
);