Add an ewsmanagedapi in Sharepoint to reference the SharePoint application ewsmanagedapi to operate on the Exchange mailbox

Source: Internet
Author: User

Download the EWS managed API from Microsoft

Api1.2 version should be downloaded in sharepoint2010 (version 2013 will be downloaded if it is used in version 2.0)

The downloaded file is a. MSI file. During installation, check the installation location.

After the installation is complete, copy the DLL file to the binfile of the IIS website, as shown in figureC: \ Inetpub \ wwwroot \ WSS \ virtualdirectories/8000

After copying, open the config file in IIS<Safecontrol> nodeAdd<Safecontrol Assembly = "Microsoft. exchange. webServices, version = 14.0.0.0, culture = neutral, publickeytoken = 31bf3856ad364e35 "namespace =" Microsoft. exchange. webServices "typename =" * "Safe =" true "safeagainstscript =" false "/>

 

Go to <trust level = "wss_minimal" originurl = ""/> and change it to <trust level = "full" originurl = ""/>

After completing the preceding steps, you can add Microsoft. Exchange. WebServices references to the SharePoint solution.

Blog completed later:

SharePoint application ewsmanagedapi operation Exchange mailbox

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.