CommunityToolkit.Aspire.Hosting.PapercutSmtp 9.7.2

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package CommunityToolkit.Aspire.Hosting.PapercutSmtp --version 9.7.2
                    
NuGet\Install-Package CommunityToolkit.Aspire.Hosting.PapercutSmtp -Version 9.7.2
                    
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.7.2" />
                    
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.7.2" />
                    
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.7.2
                    
#r "nuget: CommunityToolkit.Aspire.Hosting.PapercutSmtp, 9.7.2"
                    
#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.7.2
                    
#: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.7.2
                    
Install as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.Hosting.PapercutSmtp&version=9.7.2
                    
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-beta.376 0 9/8/2025
9.8.0-beta.375 39 9/6/2025
9.8.0-beta.373 111 9/5/2025
9.8.0-beta.372 111 9/4/2025
9.8.0-beta.370 114 9/2/2025
9.8.0-beta.364 119 9/1/2025
9.7.2 229 8/29/2025
9.7.2-beta.362 162 8/29/2025
9.7.2-beta.361 164 8/29/2025
9.7.2-beta.360 161 8/29/2025
9.7.2-beta.359 160 8/28/2025
9.7.2-beta.358 160 8/28/2025
9.7.2-beta.357 162 8/28/2025
9.7.1 185 8/27/2025
9.7.1-beta.355 162 8/27/2025
9.7.1-beta.354 161 8/27/2025
9.7.1-beta.353 162 8/27/2025
9.7.1-beta.352 162 8/27/2025
9.7.1-beta.351 164 8/27/2025
9.7.1-beta.348 125 8/14/2025
9.7.1-beta.344 74 8/10/2025
9.7.1-beta.343 193 8/8/2025
9.7.1-beta.342 203 8/7/2025
9.7.1-beta.341 197 8/6/2025
9.7.1-beta.340 185 8/5/2025
9.7.1-beta.339 183 8/5/2025
9.7.0 313 8/1/2025
9.7.0-beta.337 81 8/1/2025
9.7.0-beta.336 90 8/1/2025
9.7.0-beta.335 89 8/1/2025
9.7.0-beta.333 102 7/30/2025
9.6.1-beta.332 98 7/30/2025
9.6.1-beta.331 96 7/30/2025
9.6.1-beta.330 94 7/30/2025
9.6.1-beta.329 95 7/30/2025
9.6.1-beta.328 99 7/29/2025
9.6.1-beta.327 98 7/28/2025
9.6.1-beta.326 97 7/28/2025
9.6.0 162 7/10/2025
9.6.0-beta.324 123 7/10/2025
9.5.1-beta.323 122 7/10/2025
9.5.1-beta.322 125 7/10/2025
9.5.1-beta.321 119 7/10/2025
9.5.1-beta.320 121 7/9/2025
9.5.1-beta.319 122 7/8/2025
9.5.1-beta.318 124 7/2/2025
9.5.1-beta.317 119 6/30/2025
9.5.1-beta.315 131 6/26/2025
9.5.1-beta.314 125 6/23/2025
9.5.1-beta.313 121 6/20/2025
9.5.1-beta.312 113 6/20/2025
9.5.1-beta.311 130 6/18/2025
9.5.1-beta.310 122 6/17/2025
9.5.1-beta.309 128 6/17/2025
9.5.1-beta.308 132 6/17/2025
9.5.1-beta.307 123 6/16/2025
9.5.1-beta.306 267 6/11/2025
9.5.1-beta.305 95 6/7/2025
9.5.1-beta.304 109 6/6/2025
9.5.1-beta.303 130 6/4/2025
9.5.1-beta.302 130 6/4/2025
9.5.1-beta.301 126 6/2/2025
9.5.1-beta.300 131 5/28/2025
9.5.0 281 5/27/2025
9.5.0-beta.299 126 5/27/2025
9.5.0-beta.298 131 5/26/2025
9.5.0-beta.297 84 5/24/2025
9.5.0-beta.296 81 5/24/2025
9.5.0-beta.295 52 5/24/2025
9.4.1-beta.291 136 5/19/2025
9.4.1-beta.289 146 5/16/2025
9.4.1-beta.288 191 5/16/2025
9.4.1-beta.287 197 5/16/2025
9.4.1-beta.286 189 5/16/2025
9.4.1-beta.285 212 5/14/2025
9.4.1-beta.284 216 5/13/2025
9.4.1-beta.283 223 5/12/2025
9.4.1-beta.282 131 5/7/2025
9.4.1-beta.280 119 5/2/2025
9.4.1-beta.279 126 5/2/2025
9.4.1-beta.277 141 4/23/2025
9.4.1-beta.276 137 4/23/2025
9.4.1-beta.275 134 4/23/2025
9.4.1-beta.274 136 4/23/2025
9.4.1-beta.273 144 4/23/2025
9.4.1-beta.272 140 4/23/2025
9.4.1-beta.271 140 4/23/2025
9.4.1-beta.270 161 4/20/2025
9.4.0 209 4/20/2025
9.4.0-beta.269 142 4/20/2025
9.4.0-beta.268 138 4/20/2025
9.3.1-beta.267 142 4/20/2025
9.3.1-beta.266 66 4/19/2025
9.3.1-beta.265 174 4/15/2025
9.3.1-beta.264 170 4/15/2025
9.3.1-beta.263 167 4/15/2025
9.3.1-beta.262 177 4/15/2025
9.3.1-beta.260 141 4/10/2025
9.3.1-beta.259 150 4/8/2025
9.3.1-beta.258 147 4/8/2025
9.3.1-beta.257 145 4/8/2025
9.3.1-beta.256 140 4/8/2025
9.3.1-beta.255 137 4/8/2025
9.3.1-beta.254 138 4/8/2025
9.3.1-beta.253 142 4/1/2025
9.3.1-beta.252 127 3/27/2025
9.3.1-beta.250 118 3/27/2025
9.3.1-beta.249 116 3/27/2025
9.3.1-beta.248 121 3/27/2025
9.3.1-beta.247 122 3/27/2025
9.3.1-beta.244 474 3/25/2025
9.3.1-beta.242 466 3/24/2025
9.3.1-beta.241 147 3/19/2025
9.3.0 345 3/19/2025
9.3.0-beta.239 136 3/19/2025
9.2.2-beta.237 133 3/19/2025
9.2.2-beta.236 100 3/14/2025
9.2.2-beta.230 136 3/13/2025
9.2.2-beta.229 138 3/13/2025
9.2.2-beta.228 142 3/11/2025
9.2.2-beta.227 148 3/11/2025
9.2.2-beta.226 147 3/11/2025
9.2.2-beta.225 148 3/11/2025
9.2.2-beta.224 158 3/11/2025
9.2.2-beta.223 142 3/10/2025
9.2.2-beta.222 148 3/10/2025
9.2.2-beta.220 151 3/9/2025
9.2.2-beta.218 142 3/9/2025
9.2.2-beta.217 194 3/7/2025
9.2.2-beta.216 189 3/7/2025
9.2.2-beta.215 182 3/7/2025
9.2.2-beta.214 185 3/5/2025
9.2.2-beta.213 178 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 207 3/4/2025
9.2.2-beta.208 80 3/3/2025
9.2.1 160 3/3/2025
9.2.1-beta.207 83 3/2/2025
9.2.1-beta.206 73 3/1/2025
9.2.1-beta.205 81 2/27/2025
9.2.1-beta.204 73 2/26/2025
9.2.1-beta.203 73 2/26/2025
9.2.0 127 2/26/2025
9.2.0-beta.202 79 2/26/2025
9.2.0-beta.201 78 2/26/2025
9.2.0-beta.199 71 2/26/2025
9.2.0-beta.198 74 2/26/2025
9.1.1-beta.197 84 2/25/2025
9.1.1-beta.196 81 2/25/2025
9.1.1-beta.195 71 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 72 2/24/2025
9.1.1-beta.191 79 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 84 2/18/2025
9.1.1-beta.181 96 2/18/2025
9.1.1-beta.180 85 2/17/2025
9.1.1-beta.178 91 2/17/2025
9.1.1-beta.177 87 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 94 2/10/2025
9.1.1-beta.169 83 2/6/2025
9.1.1-beta.168 78 2/5/2025