Skip to content
DocsTry Aspire
DocsTry

addPapercutSmtp

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

Signature

methodaddPapercutSmtpbuilder
Adds Papercut SMTP to the application model.
addPapercutSmtp(
name: string,
httpPort?: number,
smtpPort?: number): PapercutSmtpContainerResource
namestring
httpPortnumberoptional
smtpPortnumberoptional
PapercutSmtpContainerResource

Applies to

This method applies to the following types: