Comments (7)
@Sagar-lab1 Can you please share a repro video. The issue here is not clear. Are you trying to convey that getBody api is not returning the body content when you call the api from on send handler function?
from office-js.
In on send handler function. In case of normal compose->new send mail .. we are getting mail body as expected.
But if we are forwarding/replying to existing mail without doing any modification in body (earlier mail threads data is visible in mail )
We are not able to get that data in on send handler.
Refers below API for example
let body = '';
Office.context.mailbox.item.body.getAsync(
"text",
function (result) {
if (result.status === Office.AsyncResultStatus.Succeeded) {
body = result.value;
doSomething(body)
}
}
)
function doSomething(body){
console.log(body);
}
Strangely If we modify any earlier thread’s mail body in mail before Forwarding/replying existing mail then the same API is giving correct details in body .
from office-js.
@Sagar-lab1 Can you please share a video of the issue.
from office-js.
Duplicate of #2317 ?
from office-js.
Yes , Issues mentioned in #2317 are same.
from office-js.
closing this issue, as the we are tracking as a part of #2317
from office-js.
Attaching video and screenshot.
If we are forwarding/replying to existing mail without doing any modification in body (earlier mail threads data is visible in mail )We are not able to get that data in on send handler.
forward_sensitive_mail.mp4
![forward_Sensitive](https://private-user-images.githubusercontent.com/158541755/315230503-a2af384d-a2c8-41a9-b49c-376ab789addb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTU3MDM5NzAsIm5iZiI6MTcxNTcwMzY3MCwicGF0aCI6Ii8xNTg1NDE3NTUvMzE1MjMwNTAzLWEyYWYzODRkLWEyYzgtNDFhOS1iNDljLTM3NmFiNzg5YWRkYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNTE0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDUxNFQxNjIxMTBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iNDdiMjYzZWZiYzQ2NTJmNjNiNjI2Y2U3ZWJlZjg1MGU0MjUwY2JkOTlhMmUwNTY4YmZhZWM2ZTc0MTM4MjMxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.gQ2vv5HWuy_TQgCjdN5TGKUcpgZ0HEwQsVMr74MARFM)
from office-js.
Related Issues (20)
- Outlook Add-in will not open in new Outlook for Windows HOT 16
- Office.context.mailbox.displayNewMessageFormAsync not adding attachment in read mode HOT 4
- Not able to control New Outlook updates. HOT 1
- Not able to disable/reset suggested contacts. HOT 1
- Excel Add-in not loading after manifest update in Windows desktop HOT 2
- getAsFileAsync 2x slower on safari desktop outlook client than on OWA on same computer/mail HOT 1
- Unable to deploy addin from Office 365 Admin console using URL
- Office initialize not working anymore in safari 17.4 HOT 2
- Office.context empty on Safari 17.4 HOT 3
- Outlook Online addin task pane overlaps email instead of being displayed next to it HOT 12
- Formatting getting disturb while opening file using base64(Alignment,Font Colour,FontSize etc.) HOT 7
- Send Event on Mobile outlook web addin missing HOT 1
- Enable Send Events and Ribbon Controlsfor Mobile Outlook Client HOT 3
- Support for Onload event on outlook start on platforms(web/desktop/mac/mobile) HOT 5
- Addins aren't loading in Excel WOPI HOT 24
- JS add-in ribbon icons are rendering the default image on the classic Outlook for Windows HOT 2
- How to manually delete the cache when using the “New Outlook" HOT 3
- Status Update Request: Integration of 'OverriddenByRibbonApi' Feature in Outlook Add-ins HOT 4
- Get selected text in Read Mode HOT 2
- NAA: Unable to initialize MSAL on Outlook for Windows in an Event handler
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from office-js.