Actions
Feature #43023
openIMAP email retrieval via OAuth2
Status:
New
Priority:
Normal
Assignee:
-
Category:
Email receiving
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Description
This patch adds IMAP email retrieval via OAuth2.
Example - Office 365 email retrieval via OAuth2:- Register an application in Azure and grant "IMAP.AccessAsUser.All" permission. Note the tenant ID, client ID and client secret.
- Initialize the OAuth token:
rake redmine:email:o365_oauth2_init token_file=config/email_oauth2 client=YOUR_CLIENT_ID secret=YOUR_CLIENT_SECRET tenant=YOUR_TENANT_ID
- Fetch messages using the token:
rake redmine:email:receive_imap_oauth2 token_file=config/email_oauth2 host=outlook.office365.com port=993 ssl=1 username=YOUR_ACCOUNT
Files
No data to display
Actions