Mailbox checkbox reads org_domains, not provider domains

Fixkamo-internal
Ya
24 Aprili 2026, 01:45 UTC
Mwandishi
kamo
Ahadi ya
def23b5

The previous wiring read /api/email/domains (email_provider_domains table). That table is only populated when a third-party email provider integration is set up — empty for Kamo Mail orgs — so the form said "No verified mailbox domains are set up" even when the org had a fully verified domain (e.g. kamocrm.com). Switch to /api/security/domains, the same source of truth the mailboxes settings page already reads. Filter to top-level (parentId == null) domains that are active and DNS-verified, then accept an org email if its domain matches any of those or is a subdomain of one.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei