Skip to content
Docs Try Aspire
Docs Try

addPapercutSmtp

Method
📦 CommunityToolkit.Aspire.Hosting.PapercutSmtp v13.4.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addPapercutSmtp(
name: string,
httpPort?: number,
smtpPort?: number): PapercutSmtpContainerResource;
}

Signature

method addPapercutSmtp builder
Adds Papercut SMTP to the application model.
addPapercutSmtp(
name: string,
httpPort?: number,
smtpPort?: number): PapercutSmtpContainerResource
name string
httpPort number optional
smtpPort number optional
PapercutSmtpContainerResource

Applies to

This method applies to the following types: