feat: Support mapping users to exchange servers by domain #3041
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR implements domain-based Exchange server mapping for the Outlook Calendar integration, allowing users to be automatically mapped to different Exchange servers based on their email domain. This is the client-side implementation that works in conjunction with Rocket.Chat server PR #36153.
https://rocketchat.atlassian.net/browse/CONN-675
What Changed
Version-Aware Configuration System
Outlook_Calendar_Exchange_Url)user.settings.calendar.outlook.Exchange_UrlEnhanced Injection Logic
src/injected.tswith agetOutlookSettings()helper that dynamically determines the appropriate Exchange URL based on:Per-User Exchange URL Management
Key Benefits
Multi-Domain Enterprise Support
@company1.com→ Exchange Server A,@company2.com→ Exchange Server B)Seamless Integration
Enterprise Scalability
Technical Implementation
This client-side implementation works by:
This feature is particularly valuable for large enterprises, managed service providers, or organizations with complex Exchange infrastructure where different user groups need to connect to different Exchange servers based on their corporate domain.
To view the Outlook Exchange URL: Enable Developer Mode in
Help→Developer Mode, then right-click any server icon in the sidebar and select "Server Info". The Exchange URL will be displayed in the server information panel if Outlook Calendar integration is configured for that server.