Comments (5)
The Office.context.mailbox.initialData
is not designed for public use. It's an internal attribute, and your add-in should not depend on it. Officially supported date properties provided by our API are:
Office.context.mailbox.item.dateTimeCreated
Office.context.mailbox.item.dateTimeModified
from office-js.
Hi Team,
Thanks for the response.
But dateTimeCreated
and dateTimeModified
isn't the correct property to use, when I have saved the mail as draft for sometime and send later.
Let's say , I have saved a mail as draft and kept it for one month , after one month when I send the mail, dateTimeCreated
will be one month ago, but dateTimeSent
would be today, so dateTimeCreated
doesn't give us the correct date when mail was sent.
For example: Today I saved a mail as draft and sent it after sometime. Here is the response from graph api.
Please have a look at the properties createdDateTime
and sentDateTime
from office-js.
@sachidanand-cloudextend Currently, there isn't a direct API to retrieve the dateTimeSent property. However, you can utilize the Office.context.mailbox.makeEwsRequestAsync API as a workaround to obtain this information. Please refer the documentation for more details on this API.
Also, we track Outlook add-in feature requests on our Tech Community Page. Please submit your request there and choose the appropriate label(s). Feature requests on Tech Community are considered, when we go through our planning process.
from office-js.
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!
from office-js.
This issue has been closed due to inactivity. Please comment if you still need assistance and we'll re-open the issue.
from office-js.
Related Issues (20)
- Document paragraph listeners miss some events. HOT 5
- [Word online] Unable to read contentControls and other properties after a simple redirection HOT 3
- XLMiner Analysis Toolpak Not Loading in Excel Online HOT 1
- PowerPointApi 1.5: `getSelectedSlides` has stopped returning an empty collection when no slides are selected HOT 1
- For custom functions on web version of excel does not show any help regarding parameters HOT 2
- Office.DevicePermissionType.microphone is unfedined HOT 4
- Issue with direct connection in Mac desktop PowerPoint add-in and SAML connection in windows as well as Mac desktop PowerPoint add-in
- How to Close a Task Pane from Within the Task Pane UI on Button Click HOT 6
- attachment id coming in GUID format via office js(Office.context.mailbox.item.getAttachmentsAsync) HOT 1
- OfficeThemes.css classes should not keep their default value
- OnAppointmentSend add-in is unavailable and time-out after short of time HOT 1
- Enable browser extensions in Excel Desktop app (WebView2) HOT 1
- Developing an Excel Add-in with a Timer that Accounts for Visibility Changes HOT 3
- Addin not loading for shared mailbox after email address change
- Outlook: Pinnable Taskpane with multi-select
- Debugging [TypeError: Network request failed] HOT 2
- markerBackgroundColor/markerForegroundColor properties in Excel Chart Series return an incorrect value and lack support for a ‘No Fill’/'No Border' option. HOT 1
- [WordApi] field.range.insertText() fails for a tracked field HOT 1
- [Outlook Mac]: Empty ItemId in pinned Taskpane without ItemChanged-Handler
- Unable to install or uninstall add-ins for an Hotmail account in Outlook web (new)
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.