Outlook OWA
3 TopicsUpdate Email Body in Read Mode Using Office.js in New Outlook/Web Outlook
Hello Community, We are creating an Outlook add-in that encrypts and decrypts emails using our in-house proprietry algo. As part of the decryption process, we need to modify the email body in read mode after decrypting the content. We are currently using the following Office.js API: Office.context.mailbox.item.display.body.setAsync(bodyText, (asyncResult) => { // Handle result }); This works as expected in Classic Outlook. However, it does not seem to be supported in the new Outlook or Outlook on the web (OWA). My question: Is there currently any way (including beta APIs) to update the body of an email in read mode using Office.js in the new Outlook or OWA? If not, is there a recommended workaround or a roadmap for this feature in future Office.js versions? We are open to using preview or beta APIs if necessary, as this feature is critical to our add-in functionality. Thanks in advance for your support!114Views0likes1CommentOutlook not parsing ics invites with rrule BYMONTHDAY=-1 or BYSETPOS=-1 properly
Current Behavior When an ics event is attached or imported as a file, and the rrule contains either BYMONTHDAY=-1 or BYSETPOS=-1, it is not properly converted to the outlook/exchange meeting type and the ics attachment will read as "not supported calendar message". It is possible to work around this by appending an additional semicolon to any property in the rrule string prior to the BYMONTHDAY=-1 or BYSETPOS=-1. However, the workaround above is actually syntactically invalid. Sending .ics invites that contain an rrule with this workaround that are opened in any application other than outlook would fail to be processed. Reproduction environment MacOS Sequoia 15.3.2 (24D81). definitely doesn't matter. using outlook for mac desktop app, outlook web app Reproduction steps See the attached ics invites - note the only difference is the additional semicolon before BYMONTHDAY in the second invite. Save these as files with the .ics extension, and then open them with outlook. Invalid invite - an event that repeats monthly on the last day of the month starting on May 31st for two months. BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN PRODID:adamgibbons/ics METHOD:REQUEST X-PUBLISHED-TTL:PT1H BEGIN:VEVENT UID:726df22a-cc8d-4276-9be9-236f4af16450 SUMMARY:Reserved by user DTSTAMP:20260413T225217Z DTSTART:20260531T050000Z DTEND:20260531T060000Z SEQUENCE:0 DESCRIPTION:hi LOCATION:hi STATUS:CONFIRMED CATEGORIES: TRANSP:TRANSPARENT X-MICROSOFT-CDO-BUSYSTATUS:FREE ATTENDEE;ROLE="REQ-PARTICIPANT";CN="user":mailto:user@example .com RRULE:FREQ=MONTHLY;INTERVAL=1;COUNT=2;DTSTART=20260531T050000 Z;BYMONTHDAY=-1; END:VEVENT END:VCALENDAR Valid invite - same event but with an additional ; before BYMONTHDAY: BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN PRODID:adamgibbons/ics METHOD:REQUEST X-PUBLISHED-TTL:PT1H BEGIN:VEVENT UID:726df22a-cc8d-4276-9be9-236f4af16450 SUMMARY:Reserved by user DTSTAMP:20260413T225217Z DTSTART:20260531T050000Z DTEND:20260531T060000Z SEQUENCE:0 DESCRIPTION:hi LOCATION:hi STATUS:CONFIRMED CATEGORIES: TRANSP:TRANSPARENT X-MICROSOFT-CDO-BUSYSTATUS:FREE ATTENDEE;ROLE="REQ-PARTICIPANT";CN="user":mailto:user@example .com RRULE:FREQ=MONTHLY;INTERVAL=1;COUNT=2;DTSTART=20260531T050000 Z;;BYMONTHDAY=-1; END:VEVENT END:VCALENDAR237Views0likes2CommentsOutlook Deeplink opens a email compose window in draft state only for the first time
I am using the Outlook compose deeplink to open a new email in compose window from my react application with window.Open(deeplink), however for the very first time a new browser window is opened with new email in Draft state. If I use the same compose deeplink again from the same browser, then it opens the new email in compose mode as expected. It feels there is some issue with the cache/cookie storing the OpenID Connect token that gets loaded when I open outlook with the deeplink for first time, and other times it opens the compose email window properly. Also when I already have Outlook opened in browser and then if I open new browser window from my React application using the deeplink, it works alright. Deeplink - https://outlook.office.com/mail/deeplink/compose/...23KViews0likes20Comments