addPapercutSmtp

Method
📦 CommunityToolkit.Aspire.Hosting.PapercutSmtp v13.6.1
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
namestringThe name of the resource.
httpPortnumberoptionalThe HTTP port number for the Papercut SMTP web console.
smtpPortnumberoptionalThe SMTP port number for the Papercut SMTP container.
PapercutSmtpContainerResource

Applies to

This method applies to the following types: