Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could you please add support for Office 365 China version #341

Open
FlashIvano opened this issue Mar 14, 2024 · 1 comment
Open

Could you please add support for Office 365 China version #341

FlashIvano opened this issue Mar 14, 2024 · 1 comment

Comments

@FlashIvano
Copy link

FlashIvano commented Mar 14, 2024

The Office 365 operated by 21Vianet version of Office 365 is specific to China.

Thanks.

Clients Settings

POP:
  服务器名称: 
    Outlook Global: outlook.office365.com
    Outlook 21Vianet: partner.outlook.cn
  端口: 995
  加密方法: SSL

IMAP:
  服务器名称:
    Outlook Global: outlook.office365.com
    Outlook 21Vianet: partner.outlook.cn
  端口: 993
  加密方法: SSL

SMTP:
  服务器名称:
    Outlook Global: smtp.office365.com
    Outlook 21Vianet: smtp.partner.outlook.cn
  端口: 587
  加密方法: StartTLS

OAUTH Settings

Outlook Global: 
  ews_url: https://outlook.office365.com/EWS/Exchange.asmx
  permission_url: https://login.microsoftonline.com/common/oauth2/v2.0/authorize
  token_url: https://login.microsoftonline.com/common/oauth2/v2.0/token
Outlook 21Vianet:
  ews_url: https://partner.outlook.cn/EWS/Exchange.asmx
  permission_url: https://login.chinacloudapi.cn/common/oauth2/v2.0/authorize
  token_url: https://login.chinacloudapi.cn/common/oauth2/v2.0/token
@FlashIvano FlashIvano changed the title Could you please add support for Office 365 China version: Could you please add support for Office 365 China version Mar 14, 2024
@mguessan
Copy link
Owner

Sounds like the tld setting introduced for .us tenants will not be enough to cover this.

The good news is that we already moved O365 url value to Settings class so this should not be too difficult.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants