CommunityToolkit.Aspire.Hosting.PapercutSmtp 9.6.0-beta.324

Prefix Reserved
This is a prerelease version of CommunityToolkit.Aspire.Hosting.PapercutSmtp.
There is a newer version of this package available.
See the version list below for details.
dotnet add package CommunityToolkit.Aspire.Hosting.PapercutSmtp --version 9.6.0-beta.324
                    
NuGet\Install-Package CommunityToolkit.Aspire.Hosting.PapercutSmtp -Version 9.6.0-beta.324
                    
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="CommunityToolkit.Aspire.Hosting.PapercutSmtp" Version="9.6.0-beta.324" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CommunityToolkit.Aspire.Hosting.PapercutSmtp" Version="9.6.0-beta.324" />
                    
Directory.Packages.props
<PackageReference Include="CommunityToolkit.Aspire.Hosting.PapercutSmtp" />
                    
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 CommunityToolkit.Aspire.Hosting.PapercutSmtp --version 9.6.0-beta.324
                    
#r "nuget: CommunityToolkit.Aspire.Hosting.PapercutSmtp, 9.6.0-beta.324"
                    
#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 CommunityToolkit.Aspire.Hosting.PapercutSmtp@9.6.0-beta.324
                    
#: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=CommunityToolkit.Aspire.Hosting.PapercutSmtp&version=9.6.0-beta.324&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.Hosting.PapercutSmtp&version=9.6.0-beta.324&prerelease
                    
Install as a Cake Tool

CommunityToolkit.Hosting.PapercutStmp

Overview

This .NET Aspire Integration runs Papercut SMTP in a container.

Usage

The Papercut SMTP integration exposes a connection string with the format endpoint=smtp://<host>:<port>. This connection string can be used to with a DbConnectionStringBuilder to get the smtp endpoint.

Example 1: Add Papercut SMTP with generated ports

var builder = DistributedApplication.CreateBuilder(args);

var papercut = builder.AddPapercutSmtp("papercut");

var xyz = builder.AddProject<Xyz>("application")
    .WithReference(papercut)
    .WaitFor(papercut);

builder.Build().Run();

Example 2: Add Papercut SMTP with user-defined ports

var builder = DistributedApplication.CreateBuilder(args);

var papercut = builder.AddPapercutSmtp("papercut", 80, 25);

var xyz = builder.AddProject<Xyz>("application")
    .WithReference(papercut)
    .WaitFor(papercut);

builder.Build().Run();
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 is compatible.  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
9.7.0-beta.333 6 7/30/2025
9.6.1-beta.332 10 7/30/2025
9.6.1-beta.331 10 7/30/2025
9.6.1-beta.330 9 7/30/2025
9.6.1-beta.329 8 7/30/2025
9.6.1-beta.328 13 7/29/2025
9.6.1-beta.327 11 7/28/2025
9.6.1-beta.326 10 7/28/2025
9.6.0 142 7/10/2025
9.6.0-beta.324 111 7/10/2025
9.5.1-beta.323 109 7/10/2025
9.5.1-beta.322 113 7/10/2025
9.5.1-beta.321 106 7/10/2025
9.5.1-beta.320 110 7/9/2025
9.5.1-beta.319 110 7/8/2025
9.5.1-beta.318 112 7/2/2025
9.5.1-beta.317 105 6/30/2025
9.5.1-beta.315 120 6/26/2025
9.5.1-beta.314 113 6/23/2025
9.5.1-beta.313 110 6/20/2025
9.5.1-beta.312 102 6/20/2025
9.5.1-beta.311 116 6/18/2025
9.5.1-beta.310 114 6/17/2025
9.5.1-beta.309 118 6/17/2025
9.5.1-beta.308 120 6/17/2025
9.5.1-beta.307 112 6/16/2025
9.5.1-beta.306 258 6/11/2025
9.5.1-beta.305 84 6/7/2025
9.5.1-beta.304 98 6/6/2025
9.5.1-beta.303 119 6/4/2025
9.5.1-beta.302 117 6/4/2025
9.5.1-beta.301 115 6/2/2025
9.5.1-beta.300 121 5/28/2025
9.5.0 214 5/27/2025
9.5.0-beta.299 116 5/27/2025
9.5.0-beta.298 121 5/26/2025
9.5.0-beta.297 75 5/24/2025
9.5.0-beta.296 71 5/24/2025
9.5.0-beta.295 42 5/24/2025
9.4.1-beta.291 123 5/19/2025
9.4.1-beta.289 134 5/16/2025
9.4.1-beta.288 182 5/16/2025
9.4.1-beta.287 185 5/16/2025
9.4.1-beta.286 179 5/16/2025
9.4.1-beta.285 201 5/14/2025
9.4.1-beta.284 206 5/13/2025
9.4.1-beta.283 211 5/12/2025
9.4.1-beta.282 121 5/7/2025
9.4.1-beta.280 109 5/2/2025
9.4.1-beta.279 116 5/2/2025
9.4.1-beta.277 131 4/23/2025
9.4.1-beta.276 128 4/23/2025
9.4.1-beta.275 125 4/23/2025
9.4.1-beta.274 127 4/23/2025
9.4.1-beta.273 134 4/23/2025
9.4.1-beta.272 130 4/23/2025
9.4.1-beta.271 130 4/23/2025
9.4.1-beta.270 149 4/20/2025
9.4.0 197 4/20/2025
9.4.0-beta.269 133 4/20/2025
9.4.0-beta.268 129 4/20/2025
9.3.1-beta.267 133 4/20/2025
9.3.1-beta.266 56 4/19/2025
9.3.1-beta.265 165 4/15/2025
9.3.1-beta.264 162 4/15/2025
9.3.1-beta.263 158 4/15/2025
9.3.1-beta.262 167 4/15/2025
9.3.1-beta.260 132 4/10/2025
9.3.1-beta.259 140 4/8/2025
9.3.1-beta.258 135 4/8/2025
9.3.1-beta.257 134 4/8/2025
9.3.1-beta.256 130 4/8/2025
9.3.1-beta.255 128 4/8/2025
9.3.1-beta.254 129 4/8/2025
9.3.1-beta.253 132 4/1/2025
9.3.1-beta.252 114 3/27/2025
9.3.1-beta.250 109 3/27/2025
9.3.1-beta.249 107 3/27/2025
9.3.1-beta.248 107 3/27/2025
9.3.1-beta.247 111 3/27/2025
9.3.1-beta.244 463 3/25/2025
9.3.1-beta.242 457 3/24/2025
9.3.1-beta.241 137 3/19/2025
9.3.0 330 3/19/2025
9.3.0-beta.239 126 3/19/2025
9.2.2-beta.237 123 3/19/2025
9.2.2-beta.236 92 3/14/2025
9.2.2-beta.230 125 3/13/2025
9.2.2-beta.229 127 3/13/2025
9.2.2-beta.228 132 3/11/2025
9.2.2-beta.227 136 3/11/2025
9.2.2-beta.226 137 3/11/2025
9.2.2-beta.225 140 3/11/2025
9.2.2-beta.224 147 3/11/2025
9.2.2-beta.223 132 3/10/2025
9.2.2-beta.222 137 3/10/2025
9.2.2-beta.220 140 3/9/2025
9.2.2-beta.218 132 3/9/2025
9.2.2-beta.217 183 3/7/2025
9.2.2-beta.216 177 3/7/2025
9.2.2-beta.215 172 3/7/2025
9.2.2-beta.214 175 3/5/2025
9.2.2-beta.213 169 3/5/2025
9.2.2-beta.212 175 3/5/2025
9.2.2-beta.211 169 3/4/2025
9.2.2-beta.210 186 3/4/2025
9.2.2-beta.208 71 3/3/2025
9.2.1 143 3/3/2025
9.2.1-beta.207 74 3/2/2025
9.2.1-beta.206 64 3/1/2025
9.2.1-beta.205 73 2/27/2025
9.2.1-beta.204 64 2/26/2025
9.2.1-beta.203 64 2/26/2025
9.2.0 115 2/26/2025
9.2.0-beta.202 67 2/26/2025
9.2.0-beta.201 68 2/26/2025
9.2.0-beta.199 60 2/26/2025
9.2.0-beta.198 64 2/26/2025
9.1.1-beta.197 75 2/25/2025
9.1.1-beta.196 70 2/25/2025
9.1.1-beta.195 62 2/25/2025
9.1.1-beta.194 65 2/25/2025
9.1.1-beta.193 67 2/25/2025
9.1.1-beta.192 63 2/24/2025
9.1.1-beta.191 69 2/24/2025
9.1.1-beta.190 79 2/19/2025
9.1.1-beta.189 70 2/19/2025
9.1.1-beta.188 69 2/19/2025
9.1.1-beta.187 78 2/19/2025
9.1.1-beta.183 85 2/18/2025
9.1.1-beta.182 76 2/18/2025
9.1.1-beta.181 84 2/18/2025
9.1.1-beta.180 74 2/17/2025
9.1.1-beta.178 79 2/17/2025
9.1.1-beta.177 78 2/12/2025
9.1.1-beta.176 74 2/11/2025
9.1.1-beta.175 73 2/11/2025
9.1.1-beta.173 83 2/10/2025
9.1.1-beta.169 74 2/6/2025
9.1.1-beta.168 69 2/5/2025