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
Updated by Marius BĂLTEANU 16 days ago
- Target version set to Candidate for next major release
Updated by Jan Catrysse 15 days ago
- File Feature__move_to_modern_authentication(OAuth_2_0)_from_IMAP_version2.patch Feature__move_to_modern_authentication(OAuth_2_0)_from_IMAP_version2.patch added
I have completely refactored and reworked the code. It now includes support for Google, includes documentation, and has extra tests.
For me it all works for both o365 and Google, but please don't hesitate to do some extra testing for different use cases.
Actions