CommunityToolkit.Aspire.Hosting.PapercutSmtp 9.8.0

Prefix Reserved
dotnet add package CommunityToolkit.Aspire.Hosting.PapercutSmtp --version 9.8.0
                    
NuGet\Install-Package CommunityToolkit.Aspire.Hosting.PapercutSmtp -Version 9.8.0
                    
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.8.0" />
                    
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.8.0" />
                    
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.8.0
                    
#r "nuget: CommunityToolkit.Aspire.Hosting.PapercutSmtp, 9.8.0"
                    
#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.8.0
                    
#: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.8.0
                    
Install as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.Hosting.PapercutSmtp&version=9.8.0
                    
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.8.0 226 9/26/2025
9.8.0-beta.402 116 9/29/2025
9.8.0-beta.401 113 9/29/2025
9.8.0-beta.399 115 9/26/2025
9.8.0-beta.398 115 9/25/2025
9.8.0-beta.397 119 9/25/2025
9.8.0-beta.395 112 9/24/2025
9.8.0-beta.394 123 9/23/2025
9.8.0-beta.393 124 9/23/2025
9.8.0-beta.392 120 9/23/2025
9.8.0-beta.389 245 9/18/2025
9.8.0-beta.388 252 9/16/2025
9.8.0-beta.386 197 9/15/2025
9.8.0-beta.385 197 9/15/2025
9.8.0-beta.384 45 9/13/2025
9.8.0-beta.376 129 9/8/2025
9.8.0-beta.375 61 9/6/2025
9.8.0-beta.373 131 9/5/2025
9.8.0-beta.372 130 9/4/2025
9.8.0-beta.370 123 9/2/2025
9.8.0-beta.364 121 9/1/2025
9.7.2 607 8/29/2025
9.7.2-beta.362 164 8/29/2025
9.7.2-beta.361 167 8/29/2025
9.7.2-beta.360 163 8/29/2025
9.7.2-beta.359 164 8/28/2025
9.7.2-beta.358 163 8/28/2025
9.7.2-beta.357 166 8/28/2025
9.7.1 241 8/27/2025
9.7.1-beta.355 165 8/27/2025
9.7.1-beta.354 165 8/27/2025
9.7.1-beta.353 166 8/27/2025
9.7.1-beta.352 166 8/27/2025
9.7.1-beta.351 167 8/27/2025
9.7.1-beta.348 127 8/14/2025
9.7.1-beta.344 75 8/10/2025
9.7.1-beta.343 194 8/8/2025
9.7.1-beta.342 204 8/7/2025
9.7.1-beta.341 199 8/6/2025
9.7.1-beta.340 186 8/5/2025
9.7.1-beta.339 184 8/5/2025
9.7.0 390 8/1/2025
9.7.0-beta.337 82 8/1/2025
9.7.0-beta.336 92 8/1/2025
9.7.0-beta.335 90 8/1/2025
9.7.0-beta.333 103 7/30/2025
9.6.1-beta.332 99 7/30/2025
9.6.1-beta.331 98 7/30/2025
9.6.1-beta.330 95 7/30/2025
9.6.1-beta.329 96 7/30/2025
9.6.1-beta.328 111 7/29/2025
9.6.1-beta.327 117 7/28/2025
9.6.1-beta.326 117 7/28/2025
9.6.0 184 7/10/2025
9.6.0-beta.324 124 7/10/2025
9.5.1-beta.323 123 7/10/2025
9.5.1-beta.322 126 7/10/2025
9.5.1-beta.321 120 7/10/2025
9.5.1-beta.320 122 7/9/2025
9.5.1-beta.319 123 7/8/2025
9.5.1-beta.318 125 7/2/2025
9.5.1-beta.317 120 6/30/2025
9.5.1-beta.315 133 6/26/2025
9.5.1-beta.314 126 6/23/2025
9.5.1-beta.313 127 6/20/2025
9.5.1-beta.312 115 6/20/2025
9.5.1-beta.311 143 6/18/2025
9.5.1-beta.310 124 6/17/2025
9.5.1-beta.309 130 6/17/2025
9.5.1-beta.308 144 6/17/2025
9.5.1-beta.307 124 6/16/2025
9.5.1-beta.306 269 6/11/2025
9.5.1-beta.305 96 6/7/2025
9.5.1-beta.304 110 6/6/2025
9.5.1-beta.303 143 6/4/2025
9.5.1-beta.302 139 6/4/2025
9.5.1-beta.301 129 6/2/2025
9.5.1-beta.300 132 5/28/2025
9.5.0 367 5/27/2025
9.5.0-beta.299 127 5/27/2025
9.5.0-beta.298 132 5/26/2025
9.5.0-beta.297 85 5/24/2025
9.5.0-beta.296 83 5/24/2025
9.5.0-beta.295 54 5/24/2025
9.4.1-beta.291 146 5/19/2025
9.4.1-beta.289 157 5/16/2025
9.4.1-beta.288 201 5/16/2025
9.4.1-beta.287 199 5/16/2025
9.4.1-beta.286 190 5/16/2025
9.4.1-beta.285 223 5/14/2025
9.4.1-beta.284 222 5/13/2025
9.4.1-beta.283 231 5/12/2025
9.4.1-beta.282 133 5/7/2025
9.4.1-beta.280 121 5/2/2025
9.4.1-beta.279 128 5/2/2025
9.4.1-beta.277 143 4/23/2025
9.4.1-beta.276 138 4/23/2025
9.4.1-beta.275 135 4/23/2025
9.4.1-beta.274 137 4/23/2025
9.4.1-beta.273 145 4/23/2025
9.4.1-beta.272 142 4/23/2025
9.4.1-beta.271 142 4/23/2025
9.4.1-beta.270 174 4/20/2025
9.4.0 230 4/20/2025
9.4.0-beta.269 144 4/20/2025
9.4.0-beta.268 140 4/20/2025
9.3.1-beta.267 144 4/20/2025
9.3.1-beta.266 67 4/19/2025
9.3.1-beta.265 176 4/15/2025
9.3.1-beta.264 172 4/15/2025
9.3.1-beta.263 169 4/15/2025
9.3.1-beta.262 178 4/15/2025
9.3.1-beta.260 144 4/10/2025
9.3.1-beta.259 156 4/8/2025
9.3.1-beta.258 158 4/8/2025
9.3.1-beta.257 152 4/8/2025
9.3.1-beta.256 141 4/8/2025
9.3.1-beta.255 138 4/8/2025
9.3.1-beta.254 139 4/8/2025
9.3.1-beta.253 144 4/1/2025
9.3.1-beta.252 138 3/27/2025
9.3.1-beta.250 119 3/27/2025
9.3.1-beta.249 117 3/27/2025
9.3.1-beta.248 134 3/27/2025
9.3.1-beta.247 134 3/27/2025
9.3.1-beta.244 477 3/25/2025
9.3.1-beta.242 468 3/24/2025
9.3.1-beta.241 161 3/19/2025
9.3.0 376 3/19/2025
9.3.0-beta.239 137 3/19/2025
9.2.2-beta.237 134 3/19/2025
9.2.2-beta.236 102 3/14/2025
9.2.2-beta.230 138 3/13/2025
9.2.2-beta.229 149 3/13/2025
9.2.2-beta.228 143 3/11/2025
9.2.2-beta.227 159 3/11/2025
9.2.2-beta.226 148 3/11/2025
9.2.2-beta.225 149 3/11/2025
9.2.2-beta.224 168 3/11/2025
9.2.2-beta.223 144 3/10/2025
9.2.2-beta.222 150 3/10/2025
9.2.2-beta.220 158 3/9/2025
9.2.2-beta.218 143 3/9/2025
9.2.2-beta.217 200 3/7/2025
9.2.2-beta.216 200 3/7/2025
9.2.2-beta.215 184 3/7/2025
9.2.2-beta.214 185 3/5/2025
9.2.2-beta.213 179 3/5/2025
9.2.2-beta.212 185 3/5/2025
9.2.2-beta.211 178 3/4/2025
9.2.2-beta.210 214 3/4/2025
9.2.2-beta.208 80 3/3/2025
9.2.1 196 3/3/2025
9.2.1-beta.207 84 3/2/2025
9.2.1-beta.206 80 3/1/2025
9.2.1-beta.205 89 2/27/2025
9.2.1-beta.204 73 2/26/2025
9.2.1-beta.203 73 2/26/2025
9.2.0 147 2/26/2025
9.2.0-beta.202 89 2/26/2025
9.2.0-beta.201 78 2/26/2025
9.2.0-beta.199 75 2/26/2025
9.2.0-beta.198 76 2/26/2025
9.1.1-beta.197 85 2/25/2025
9.1.1-beta.196 88 2/25/2025
9.1.1-beta.195 72 2/25/2025
9.1.1-beta.194 75 2/25/2025
9.1.1-beta.193 75 2/25/2025
9.1.1-beta.192 73 2/24/2025
9.1.1-beta.191 80 2/24/2025
9.1.1-beta.190 89 2/19/2025
9.1.1-beta.189 80 2/19/2025
9.1.1-beta.188 79 2/19/2025
9.1.1-beta.187 88 2/19/2025
9.1.1-beta.183 94 2/18/2025
9.1.1-beta.182 85 2/18/2025
9.1.1-beta.181 106 2/18/2025
9.1.1-beta.180 97 2/17/2025
9.1.1-beta.178 99 2/17/2025
9.1.1-beta.177 88 2/12/2025
9.1.1-beta.176 84 2/11/2025
9.1.1-beta.175 84 2/11/2025
9.1.1-beta.173 102 2/10/2025
9.1.1-beta.169 91 2/6/2025
9.1.1-beta.168 83 2/5/2025