OfficeDev/office-js

New Outlook for Mac, the "Work Offline" feature does not block emails if the OnSend add-in is installed and configured after a restart of Outlook

Closed this issue · 3 comments

Provide required information needed to triage your issue

The new Outlook for Mac "Work Offline" feature does not block emails if the OnSend add-in is installed and configured, which is after restarting Outlook and remaining in Work Offline mode.

When a user switches to Work Offline mode and tries to send an email, the Send button is disabled. However, if the user restarts Outlook and sends the email, the Send button is enabled, allowing the email to be sent without performing the checks of the OnSend add-in, which should not be the case as stated below:
image

We have followed the documentation provided by Microsoft for onSend addins

We have enabled the OnSendAddinEnabled flag on the tenant
image

We have also set the settings key OnSendAddinsWaitForLoad to true on Mac as shown below according to the documentation under that MAC tab in the article :
image

Your Environment

  • Platform [PC desktop, Mac, iOS, Office on the web]: New Outlook Mac
  • Host [Excel, Word, PowerPoint, etc.]: Outlook
  • Office version number: 16.83.2 (24032318)
  • Operating System: ______
  • Browser (if using Office on the web): ______

Expected behavior

We expect that if the user restarts Outlook and is still in Work Offline mode with the On Send add-in enabled, they should not be able to send the email, just like before the Outlook restart.
image

Current behavior

When user first switched to Work Offline (in New Outlook for Mac), and works on a new email (or on a reply) then it is not possible to click Send. The emails will be saved as drafts. This is good and as expected based on documentation.

If user then restarts Outlook and is still in offline mode, it is now possible to click Send on compose emails. The emails are saved to the Outbox and automatically get set out when the user switches back to Online mode. The protection provided by the addin is bypassed. This does not match what the documentation quoted above indicates.

Steps to reproduce

  1. Install a OnSend Addin
  2. Send Email, the OnSend Addin should trigger
  3. Switch to Work Offline , compose an email to send, the Send Button is disabled
  4. Quit Outlook, and re-launch again ( Restart),
  5. Compose email to Send, the send button is enabled and user is able to send the email without it been blocked ( Send button is not disabled).

@avisheknand OnSendAddinsWaitForLoad should not be set using defaults. As mentioned in Doc you will need to set using enterprise management software for Mac, such as Jamf Pro. Once configured, the settings should be visible under System Settings -> Profile.

This issue has been automatically marked as stale because it is marked as needing author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your interest in Office Add-ins!

This issue has been closed due to inactivity. Please comment if you still need assistance and we'll re-open the issue.