ews-javascript-api | EWS API for TypeScript/JavaScript | Mobile Application library

 by   gautamsi TypeScript Version: 0.15.1 License: Non-SPDX

kandi X-RAY | ews-javascript-api Summary

kandi X-RAY | ews-javascript-api Summary

ews-javascript-api is a TypeScript library typically used in Apps, Mobile Application, Angular, Nodejs, Electron applications. ews-javascript-api has no bugs, it has no vulnerabilities and it has low support. However ews-javascript-api has a Non-SPDX License. You can download it from GitHub, GitLab.

EWS API for TypeScript/JavaScript - ported from OfficeDev/ews-managed-api - node, cordova, meteor, Ionic, Electron, Outlook Add-Ins
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              ews-javascript-api has a low active ecosystem.
              It has 251 star(s) with 64 fork(s). There are 19 watchers for this library.
              There were 5 major release(s) in the last 6 months.
              There are 42 open issues and 282 have been closed. On average issues are closed in 481 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of ews-javascript-api is 0.15.1

            kandi-Quality Quality

              ews-javascript-api has 0 bugs and 0 code smells.

            kandi-Security Security

              ews-javascript-api has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              ews-javascript-api code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              ews-javascript-api has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              ews-javascript-api releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ews-javascript-api
            Get all kandi verified functions for this library.

            ews-javascript-api Key Features

            No Key Features are available at this moment for ews-javascript-api.

            ews-javascript-api Examples and Code Snippets

            No Code Snippets are available at this moment for ews-javascript-api.

            Community Discussions

            QUESTION

            EWS fails with 'read ECONNRESET' on Jenkins
            Asked 2021-Dec-23 at 18:56

            Using these libraries to connect to ews and get emails:

            • "ews-javascript-api": "^0.10.3"
            • "ews-javascript-api-auth": "^1.2.1"

            Locally it works and I can connect to email boxes but when I run it on Jenkins I get this error:

            ...

            ANSWER

            Answered 2021-Dec-23 at 18:56

            That was an issue with expired SSL certificates on Travis's side.

            Source https://stackoverflow.com/questions/70420823

            QUESTION

            How can I get attachment content from an Outlook mail in a Node.js Outlook add-in?
            Asked 2020-Mar-12 at 08:08

            First of all, being a student, I lack some experience to understand everything about what I tried and what I try. But still, I feel like I've tried pretty much every solution available on the net.

            I'm developing a Yeoman based Outlook add-in (full javascript with Node.js) for my company, and I came to the point where I need to get the attachments from a mail, not just the informations like size, file type or name of the attachments, I need the full content, in base64 if possible (in order to produce a .eml file containing the mail body and attached files).

            I've found multiple ways to do so, problem is none of them work :

            • first I tried with the messy microsoft documentation, and the first solution that I found is this one : https://docs.microsoft.com/en-us/office/dev/add-ins/outlook/get-attachments-of-an-outlook-item, problem is that with this solution I need to make use of c#, but my add-in is full js, and I need to find a solution that works with JS and Node.js
            • then I looked for a solution that allows me to communicate a way or another with the Exchange Server to get the attachments content, and I found this : https://github.com/gautamsi/ews-javascript-api, but this was not working with browser oriented add-in (and I need my add-in to work on both client and browsers), so I made use of this : https://github.com/gautamsi/ews-js-api-browser. I found some code samples in the first link and here : Save outlook Email attachment using ews-javascript-api npm in node JS that helped me build something (using the second link's example's syntax on the third link's sample code) that was supposed to work, but coming to the point where I'm trying to get the attachments from the mail, I get a lot of informations from the attachment, but anything related to it's content is null, and the next step where I "Load" the file returns an error 500 from the "service" with "the document is empty", and I still don't know why yet.
            • finally, I tried to take a step back, looking on google for office api and how to get attachment content, and I've found this link : https://blog.mastykarz.nl/office-365-unified-api-mail/ that almost looked to good to be true, and I was right : according to microsoft doc, I need a token in order to make work the office 365 api url, token given by Azure AD when an administrator authorizes you to obtain it (or so do I think, this is the part where the microsoft doc is the messier). Problem is, while connecting on Azure AD, I get an error displaying on the screen from the website (absolutely no details about the error), and some places that I need to access in order to get my token just wont work, displaying another error message without any details or just never loading.

            I've reduced as much as possible the size of my question, not wanting to drown you under informations, sample codes, links and pics so, sorry if it may look both too long and too poor in details.

            Thank you for your time, feel free to give any solution, suggestion or advice that come to your mind !

            ...

            ANSWER

            Answered 2020-Mar-12 at 08:08

            doing the same thing, solution I found:

            • Get exchangeToken in client (Office.context.mailbox.getCallbackTokenAsync())
            • Send token, attachmentsIds, emailID to server (C# in my case, nodejs in your case)
            • Use EWS Managed API 2.0 or in your case ews-javascript-api to handle loading email mimecontent (contains email + attachments) or attachment mimecontent.
            • Upload file to another service or do whatever you want with it.

            Before I switched to C# for serverside I was using a nodejs one for testing, so if you have questions feel free to ask.

            Source https://stackoverflow.com/questions/60621081

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install ews-javascript-api

            You can download it from GitHub, GitLab.

            Support

            Contact @gautamsi for support. Use [![Gitter](https://badges.gitter.im/gautamsi/ews-javascript-api.svg)](https://gitter.im/gautamsi/ews-javascript-api?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) for 1:1 support and paid support. Also looking for sponsors to fund remaining development on this.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • npm

            npm i ews-javascript-api

          • CLONE
          • HTTPS

            https://github.com/gautamsi/ews-javascript-api.git

          • CLI

            gh repo clone gautamsi/ews-javascript-api

          • sshUrl

            git@github.com:gautamsi/ews-javascript-api.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link