I have 2 questions below, could you help me?
Since Exchange 2016 has dropped MAPI/CDO, and we’re suggested to use EWS instead. I want to know, could EWS can handle outlook form, because we want to use EWS Managed API to install outlook form(we have created this form manually already) to user’s mailbox as a message. If not, is there any other recommend solution or SDK?
If we have a .msg file, could we use EWS Managed API to create a Email Message by using this .msg file on disk?
Thanks very much. Hope for your response.
Exchange 2016 dropped support for the standalone version of MAPI/CDO 1.21. It still fully supports Outlook and RPC-over-HTPP and MAPI-over-HTTP.
I don't think you can either install a form or process an MSG file using EWS alone.
Related
Outlook Add-ins are allowed to move emails to specific folder or even deleted folder?
If yes how can be done?
I didn't find anything about on the docs.
You can use EWS or Graph API for that. See Explore the EWS Managed API, EWS, and web services in Exchange for more information about EWS. More information specific to Outlook web add-ins can be found in the Call web services from an Outlook add-in article.
We are retrieving the email and attachments using the oAuth token from getCallbackTokenAsync in office.js JavaScript library and sending the token to the web application to retrieve them from EWS (~/EWS/Exchange.asmx) using SOAP request similar to the approach shown in https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/get-attachments-of-an-outlook-item
Could anyone please confirm that the deprecation of Outlook Rest API 2.0 will not affect the existing functionality. I am new to the Outlook add-in development and the documentation seems vast to digest.
https://devblogs.microsoft.com/microsoft365dev/outlook-rest-api-v2-0-deprecation-notice/
Do we need to register the add-in anywhere OR provide any permissions to the add-in specifically for getCallbackTokenAsync method to retrieve the token OR making the SOAP request to download attachments.
EWS remains unchanged for Outlook web add-ins. Make sure that you don't use the isRest option for the getCallbackTokenAsync call.
Take a look at the recent Office add-ins community call where this question was discussed in depth. Here is a screenshot for others:
I have Outlook 2016 using Hosted Exchange. Here's what I need to be able to do:
Add Outlook tasks automatically when adding a contact via a custom form.
Send a premade .doc, .html, or .mshtml file via email to a set of contacts.
Keep track of who has received what premade email
I have some JS experience, but I'm not afraid of getting into .NET or VBA. I'm leaning towards VSTOs because, from what I've read, Office.js doesn't seem to allow for much interoperability between, say, Word and Outlook.
Any advice would be greatly appreciated.
From what you describe, I would step outside of Outlook all together and use theMicrosoft Graph API. Using Graph you could wire up a Webhook so you can capture when a new Contact is added and then send an email with a file attachment. You could then use Extended Properties to tag each Contact with the document/email they received.
I would also suggest taking a look at Microsoft Flow. For workflow scenarios like this, it may be a better fit.
I'm currently working on a project where I'm sending and updating Appointsments. I would like to do this without the use of ActiveX since I don't want to be limited to IE. I've been googeling for quite some time now, but I couldn't find anything that helped, so here's my question. Is there any way I can access or update appointments without the use of ActiveX.
We also have access to the OutlookWebApp, so maybe there's an interface there. Would be great if someone had an idea. Thanks in advance and
Greetings Chris
You can use Exchange Web Services (web or desktop app) or the EWS Managed API (desktop app only) to access data in Exchange Mailboxes: https://msdn.microsoft.com/en-us/library/office/jj162981.aspx.
If you are working with Office 365 mailboxes you can use the Outlook REST or Microsoft Graph APIs: https://dev.outlook.com/
If your solution requires a UI in Outlook Online (OWA) then you can access contextual data (i.e. the current email or appointment) with an Outlook Add-in (you can use EWS requests from it as well): https://dev.outlook.com/reference/add-ins/
Is there a way to get user information from exchange server 2007?
I'm looking particularly for the display name, total inbox items, unread emails, unread emails 7 days or older and out of office status for all users.
I have found some application available online but was wondering if there is some way to do the same reading exchanges logs using C# or a log reader of some sort.
I've also found WebDav and exchange SDK, but felt I couldn't get all the needed information with that.
If I'm wrong could someone show me a sample code of how it could be done? Preferably in C#.
Thanks in advance.
Part of your information can be obtained by the Get-MailboxFolderStatistics cmdlet. For other information you'll have to use EWS or, better yet, the EWS Managed API.
EWS Managed API - Download: http://www.microsoft.com/download/en/details.aspx?id=13480
EWS Managed API - SDK: http://msdn.microsoft.com/en-us/library/dd633710(v=exchg.80).aspx