In our Outlook add-in, we are using makeEwsRequestAsync
to get the current email's MimeContent
. We understand there is a 1MB request/response limit when using EWS via the JavaScript API. When we reach this limit on Windows, we at least see this message:
"Response exceeds 1 MB size limit. Please modify your EWS request".
However, when making this request for a large email (>1MB) on Mac (Outlook 2016), we don't get any sort of response whatsoever. The add-in just seems to hang. Is there any way we can catch this error on Mac? We would like to show a dialog or something notifying the user that there was a size limit error, but we can never actually catch the error.
I found someone with a similar question, but no one has answered.
来源:https://stackoverflow.com/questions/53073456/ews-request-not-responding-with-error-on-mac