Office js addin: Can I send email from excel addin? - outlook-addin

I am developing an excel add-in. Everything works fine but I would like to send the end result via email.
Is it possible to send a table range content with the outlook from excel addin?

Yes, it is possible. You can use the Exchange web services from your JS add-in. EWS is a SOAP based, XML protocol. There is no officially supported client libraries for JS, Outlook add-ins have built-in methods for making such calls. In case of Excel web add-ins you may consider using ews-javascript-api.
In case of Outlook add-ins you may find the Call web services from an Outlook add-in page helpful.

Related

Add contacts to outlook using Outlook Addin

I am developing an outlook addin that syncs my application(abc) contacts with my outlook contacts. I am unable to do it using javascript.
You may use EWS or Outlook REST API from your web-based add-ins. See EWS Managed API, EWS, and web services in Exchange for more information.
Note, Mail Apps are run in the context of a particular Outlook item. That's why I'd recommend developing a COM add-in instead. It can be run with Outlook and handle a lot of actions that users do to keep in sync with your application all contacts. See Walkthrough: Creating Your First VSTO Add-In for Outlook to get started quickly.

Can I load mixed content Http and Https for Office 365 outlook addin?

As per below link,security for Office Add-ins and what I understood that we need to apply SSL for Add-in and XYZ WEBAPP which we are expecting to get loaded inside the office 365 add-in task pane.
But, do next level WEBAPI calls also need to be secured (Https) which needed for XYZ application?
The answer is yes, per documentation you refer to ...
"Data communicated with the web server that hosts a content, Outlook or task pane add-in as well as communication between the add-in and any web services it uses must be encrypted using the Secure Socket Layer (SSL) protocol."

VSTO add-in to interact with web api

I need a Word custom task pane that will interact with WebApi. What VSTO template should be used- Web add-ins or VSTO add-in?
The vsto template that create the custom pane using Window Form can interact with webapi in any special manner or using HttpClient?
Any help will be appreciated.
If you are talking about COM add-ins (VSTO) you can use any BCL classes for interacting with web services. So, you may consider your add-in as a regular .Net based application. For example, see How to call web Service in Excel Using VSTO.

Infopath 2010 offline connection

I have an infopath form template with code customizations, which involves 2 sharepoint lists. The form template works fine with online connections which uses WCF 's UpdateListItems process.
My question is how do I make it work offline? As WCF service updates only when the form is online. When the form template goes offline, how do I update the data to sharepoint workspace? I understand I need to use the Sharepoint Workspace to store the offline data before it is transferred when online connnectivity is resumed.
Thanks and Regards

Can I access Outlook from Windows Store app

We have a requirement to access Outlook through Windows Store App (Metro) using JavaScript.
Is this possible?
Thanks.
Suhas
According to MSDN forum, there is no API to get/insert appointments from an app on the system to Outlook. If the appointments are server based (from Exchange, Live, etc.) you might be able to access/insert them through a web service.