outlook

How to get user online status in Microsoft Graph?

醉酒当歌 提交于 2020-07-21 03:28:11
问题 I am using Microsoft Graph. I tried GET /users/{id | userPrincipalName} to get user online status (online / busy / offline...) like the one in Outlook. However, it won't give me any field like onlineStatus . Is there an API to get user online status? 回答1: This is not available through the Microsoft Graph today, but we welcome community feedback! Please upvote/comment on this UserVoice post so our team can see interest in this endpoint being added to the Microsoft Graph API. 回答2: To add to Dan

Get Unique Id From MailItem (Microsoft.Office.Interop.Outlook)?

做~自己de王妃 提交于 2020-07-18 10:45:12
问题 I'm creating an application that is reading emails received in outlook. The reading process is something like this: using Outlook = Microsoft.Office.Interop.Outlook; var app = new Outlook.Application(); var ns = app.GetNamespace("MAPI"); ns.Logon(null, null, false, false); var inboxFolder = ns.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox); var subfolder = inboxFolder.Folders["MyFolderName"]; foreach (Outlook.MailItem item in subfolder.Items) { // do something // item.EntryID } I

How to open Android Outlook application from an external one

痞子三分冷 提交于 2020-07-18 05:27:17
问题 I'm currently developing an Android application in order to display home screen widgets. Those ones are related to Microsoft Outlook (Events + Messages) in order to show incoming events and unread new messages in a kind of dynamic tiles. The Msal graph library helps me a lot to authenticate and retrieve in formations which contains an identifier for each event / message results But now I want to know if the outlook application is installed on the user device and if there is a way to open

How to open Android Outlook application from an external one

可紊 提交于 2020-07-18 05:25:59
问题 I'm currently developing an Android application in order to display home screen widgets. Those ones are related to Microsoft Outlook (Events + Messages) in order to show incoming events and unread new messages in a kind of dynamic tiles. The Msal graph library helps me a lot to authenticate and retrieve in formations which contains an identifier for each event / message results But now I want to know if the outlook application is installed on the user device and if there is a way to open

Switching the FROM Inbox

房东的猫 提交于 2020-07-16 05:47:09
问题 I currently use a code that generates an email fine with certain fields like To, CC, BCC, but I am not sure how to switch the "FROM" part of the email automatically. Ie my email is here, but I want to automatically switch to another inbox, I can do it manually when the email is generated via the drop down, but I am wondering if there are ways to do this automatically. I Tried adding .From to this existing code but does not work. Here are the relevant snippets of code: Dim OLook As Object,

Treating Item As MailItem

半世苍凉 提交于 2020-07-15 09:18:51
问题 I am creating an VBA application in Outlook 2016. It analyzes an incoming email and takes its subject line to search for duplicate (or close to duplicate) subject lines. I use a for-each loop to go through a list of Items (which are emails within the inbox) and analyze each one for the criteria. Once a response is required, both the incoming email and the duplicate email are flagged so show that I have already responded to them. I know both Item and olItem should both be Item objects. The

Save Outlook Emails with Attachment name

只谈情不闲聊 提交于 2020-07-10 01:49:43
问题 I need to copy a whole lot of e-mails to a folder, but instead of saving them using the subject line I want the file name of the saved e-mail to be that of the attachment in the e-mail. All I currently have is the code to save the e-mail using the subject line: Sub Sample() Dim selectedEmail As MailItem Dim emailsub As String Set selectedEmail = ActiveExplorer.Selection.Item(1) attach = GetValidName(selectedEmail.subject) 'Debug.Print emailsub With selectedEmail .SaveAs "C:\direcotry\folder\"

What is the difference between reply and forward in Microsoft Graph?

笑着哭i 提交于 2020-07-09 11:33:42
问题 I am using Microsoft Graph's reply and forward APIs. I am trying to understand their difference. At first, I thought the conversationId might change if I use forward. It turns out the conversationId won't change. So is there any difference between these two APIs? Thanks POST /me/messages/{id}/reply POST /me/messages/{id}/forward 回答1: One replies, one forwards. These are fundamentally different operations, even if in both cases the conversationId is preserved. Just off the top of my head:

What is the difference between reply and forward in Microsoft Graph?

夙愿已清 提交于 2020-07-09 11:33:16
问题 I am using Microsoft Graph's reply and forward APIs. I am trying to understand their difference. At first, I thought the conversationId might change if I use forward. It turns out the conversationId won't change. So is there any difference between these two APIs? Thanks POST /me/messages/{id}/reply POST /me/messages/{id}/forward 回答1: One replies, one forwards. These are fundamentally different operations, even if in both cases the conversationId is preserved. Just off the top of my head:

OUTLOOK vba filter with like statement

别等时光非礼了梦想. 提交于 2020-07-09 08:32:19
问题 I want to put a like statement as I want to filter email that starts with tmeadmin@ This code breaks on the line with the like statement. How do I fix it? Dim objOutlook As Outlook.Application Dim objNamespace As Outlook.NameSpace Dim objSourceFolder As Outlook.MAPIFolder Dim objDestFolder As Outlook.MAPIFolder Dim InboxMsg As Object Dim Inbox As Outlook.Folder Set objOutlook = Application Set objNamespace = objOutlook.GetNamespace("MAPI") Set Inbox = objNamespace.GetDefaultFolder