afe31b9af0 | ||
---|---|---|
.github/workflows | ||
mapistub | ||
schema | ||
src | ||
test | ||
.clang-format | ||
.gitignore | ||
CMakeLists.txt | ||
CMakeSettings.json | ||
CODE_OF_CONDUCT.md | ||
LICENSE | ||
README.md | ||
SECURITY.md | ||
SUPPORT.md | ||
vcpkg.json |
README.md
GqlMAPI
This project contains a library built with CppGraphQLGen which binds a GraphQL schema to MAPI.
The main purpose of this project is to demonstrate building a non-trivial C++ GraphQL service with CppGraphQLGen. It may also be useful in diagnostic and debugging tools for Microsoft Outlook. This library is not officially supported by Microsoft, but MAPI itself is still supported as a backwards compatible integration API for Microsoft Outlook.
Getting Started
You will need a Windows computer with a working installation of Microsoft Outlook for Windows, since that is how MAPI is installed. You can use any C++ compiler toolchain which fully supports C++17 on Windows, I recommend Visual Studio 2019 or Visual Studio Code with the CMake Tools and C/C++ extensions from Microsoft.
The build system uses CMake. If you are using Visual Studio 2019, it comes with a supported version of CMake (>= 3.17.1) pre-installed. You can also install CMake separately and then use it with another editor like Visual Studio Code or Vim.
You will also need to install CppGraphQLGen and GoogleTest separately to satisfy the CMake dependencies. The easiest way to do that is to use Vcpkg. See the Quick Start: Windows section of the Vcpkg README for more details.
Once you have Vcpkg installed and CMake is configured to use it, install the dependencies with a command like this:
> .\vcpkg\vcpkg install --triplet=x64-windows cppgraphqlgen gtest
Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Trademarks
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.