XperienceCommunity.Exchange 1.0.0-preview4

This is a prerelease version of XperienceCommunity.Exchange.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package XperienceCommunity.Exchange --version 1.0.0-preview4
                    
NuGet\Install-Package XperienceCommunity.Exchange -Version 1.0.0-preview4
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="XperienceCommunity.Exchange" Version="1.0.0-preview4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="XperienceCommunity.Exchange" Version="1.0.0-preview4" />
                    
Directory.Packages.props
<PackageReference Include="XperienceCommunity.Exchange" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add XperienceCommunity.Exchange --version 1.0.0-preview4
                    
#r "nuget: XperienceCommunity.Exchange, 1.0.0-preview4"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package XperienceCommunity.Exchange@1.0.0-preview4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=XperienceCommunity.Exchange&version=1.0.0-preview4&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=XperienceCommunity.Exchange&version=1.0.0-preview4&prerelease
                    
Install as a Cake Tool

Xperience by Kentico: MS Exchange Email Integration

CI: Build and Test

Description

A Xperience by Kentico integration for sending emails via Microsoft 365 / Exchange Online using OAuth (Graph API). Provides service registration, token acquisition, and recipient normalization utilities.

Limitations

  • Attachment sending not implemented. Ready to extend.

Requirements

Dependencies

  • ASP.NET Core 8.0+
  • Xperience by Kentico >= 28.1.0

Other prerequisites

  • Azure App Registration with Mail.Send permission.
  • Administrators can configure application access policy to limit app access to specific mailboxes and not to all the mailboxes in the organization, even if the app has been granted the Mail.Send application permission.

Package Installation

Install from NuGet:

dotnet add package XperienceCommunity.Exchange

Quick Start

  1. Install the NuGet package.
  2. Add configuration to appsettings.json:
    {
      "MicrosoftGraphApiEmailSender": {
        "TenantId": "<GUID>",
        "ClientId": "<GUID>",
        "ClientSecret": "<secret>",
        "Sender": "no-reply@domain.com"
      }
    }
    
  3. Register services in Program.cs:
    builder.Services.AddMSExchangeEmailSender();
    

Full Instructions

See the Usage Guide for advanced configuration and scenarios.

Contributing

Instructions and technical details for contributing to this project can be found in Contributing Setup.

License

Distributed under the MIT License. See LICENSE.md for more information.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated