-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Outlook Event Based Activation - Not Working on Classic Outlook #5166
Comments
Hi- we have the exact same issue with our add-in. On Outlook Classic, our JS function doesn't even get called. Outlook behaves as if our Add-in is not available and shows the soft block, user prompt and allows the user to send the email anyway. This worked untill the first of December. But hasn't worked since then. Any information on a fix or workaround for this? |
I am also facing this same issue. It was working two weeks ago but its not working now. Can you provide any update if you have any? Its urgent!! |
The Office.actions.associate function must be run outside of Office.onReady. I made that change in your file and everything seemed to work: Without that line Outlook can't find the function to call. @VivianDZ / @aberamdatazoic Please open separate issues to track your issues, as the cause is likely different than this issue. If you can provide the smallest add-in here that repros your problem, that can help a lot. (for example in this case the entire manifest and bundle.js was provided). Most likely when something like this happens it's either because:
In the second case, if your add-in runs you should be able to debug it and figure out what the issue is. If the Add-in Never Starts, you'll have to figure out what is incompatible in the bundle. If it used to work, it could be something that changed recently that is causing the incompatibility. If it never worked, remember that Win32 Classic uses a JS Runtime to run, and NOT a webview, so often things that rely on the DOM, or other webview elements can cause a problem. Debugging your add-in information can be found here: https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/debug-autolaunch?tabs=windows Note that the dev team is aware that the process of figuring out what may be wrong in the JS Runtime bundle is tricky, and are working to improve that process, but I understand that does little to help you right now :( |
Thank you @timwan10 I will file a separate issue with the sample required which doesn't work on Classic Outlook. |
Thank you @timwan10, the solution worked for me! |
Overview
I have been creating an outlook add in that is meant to warn users when sending emails to external recipients. It works as desired when used on OWA and the New Outlook Desktop however it does not work on the Classic Outlook. I have been trying to debug it and reading up on how others has tackled this issue, including trying these following methods:
devServer: { hot:false, client:false, }
static: { directory: path.join(__dirname, "dist"), publicPath: "/public", },
However, both has not worked for me and I am still facing the same issue whereby this error pops up "External Recipients Warning is unavailable and can't process your email at this time."
Code
Here is my manifest:
Here is my launchevent.js
And finally here is my current webpack.config.js:
Logs
I have ran this on the Classic Outlook and managed to get these error logs from event viewer:
My Environment
The text was updated successfully, but these errors were encountered: