mirror of
https://github.com/itflow-org/itflow
synced 2026-11-19 02:47:26 +00:00
Mail: Microsoft 365 sends email and reads the support mailbox through Microsoft Graph when the app on the OAuth tab has Mail.Send or Mail.ReadWrite, so the mailbox needs no SMTP AUTH, and SMTP or IMAP stay in use for whatever it lacks; new functions/mail_graph.php with mailGraphToken caching the Graph token and its scopes and keeping the rotated refresh token, mailGraphSend sending the finished MIME or a draft with uploaded attachments past 3 MB, and functions/mail_graph_mailbox.php standing in for ImapEngine in the email parser; the OAuth tab says which way email goes, Test IMAP and Test OAuth Token Refresh cover Graph, the Exchange token renewals now name their scope, database 3.9.2 adds three settings columns, 26.11.9 changelog entries
This commit is contained in:
@@ -97,6 +97,9 @@ mysqli_query($mysqli, "UPDATE settings SET
|
||||
WHERE company_id = 1
|
||||
");
|
||||
|
||||
// What Microsoft Graph can do is asked afresh with the new sign-in (functions/mail_graph.php)
|
||||
mailGraphForget();
|
||||
|
||||
logAudit("Settings", "Edit", "$session_name connected Microsoft 365 for mail");
|
||||
flashAlert("Microsoft 365 connected - ITFlow can now use the mailbox");
|
||||
redirect($settings_mail_path);
|
||||
|
||||
Reference in New Issue
Block a user