Mailpit Integration · Aaronontheweb/dotnet-skills
Test email sending locally with Mailpit in .NET Aspire
Sets up Mailpit as a local SMTP capture tool inside a .NET Aspire AppHost so outgoing emails are caught instead of sent, letting you inspect rendered HTML and headers or assert delivery in integration tests.
Good for
- Add Mailpit as an Aspire AppHost container
- Inspect rendered HTML of captured emails
- Assert email delivery inside integration tests
- Source repository
- Aaronontheweb/dotnet-skills
- Category
- General
Open-source skills are maintained by their authors and listed as published, with attribution. Results depend on how well the skill fits your task and material.
A good place to start
Help me wire up Mailpit in my .NET Aspire AppHost so I can test email sending without sending real messages.

Make your next great thing.
Bring a question, a file, or an idea that’s not quite there yet.