Add Microsoft Graph Mail Transport and Configuration#8907
Merged
Conversation
Introduce Microsoft Graph mail support: add MicrosoftGraphTransport and MicrosoftGraphMessageConverter to send emails via the Graph API and a MicrosoftGraphTokenProvider to obtain access tokens. Integrate the transport into OauthMailManager (createTransport/createMicrosoftGraphTransport) and register a 'microsoft_graph' mailer in config/mail.php. Update the admin settings UI to show the authorization button when the mail driver is set to 'microsoft_graph'. The transport posts a sendMail payload to the Graph endpoint and throws a TransportException on HTTP errors.
|
QA server K8S was successfully deployed https://ci-9a5e85c03c.engk8s.processmaker.net |
1 similar comment
|
QA server K8S was successfully deployed https://ci-9a5e85c03c.engk8s.processmaker.net |
|
|
QA server K8S was successfully deployed https://ci-9a5e85c03c.engk8s.processmaker.net |
mcraeteisha
approved these changes
Jul 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 introduces Microsoft Graph mail support, allowing emails to be sent through the Microsoft Graph API.
Changes
MicrosoftGraphTransportto send emails through the Microsoft GraphsendMailendpoint.MicrosoftGraphMessageConverterto convert mail messages into the payload required by the Graph API.MicrosoftGraphTokenProviderto retrieve Microsoft Graph access tokens.OauthMailManagerto support Microsoft Graph through:-
createTransport()-
createMicrosoftGraphTransport()microsoft_graphmailer inconfig/mail.php.TransportExceptionwhen the Graph API returns an unsuccessful HTTP response.How to Test
Test Email Server Configuration
microsoft_graphas the driverTest Send Email Connector
Related Tickets & Packages
ci:connector-send-email:subtask/FOUR-32165
ci:deploy
.
Code Review Checklist