Skip to main content
Version: 0.24

Interface: EmailSender

Email sender configuration.

Required for the email auth flows (verification, password reset) and available for sending arbitrary emails via wasp/server/email.

See Sending Emails.

Example

import { app } from "@wasp.sh/spec"

export default app({
// ...
emailSender: {
provider: "SMTP",
defaultFrom: {
name: "Example",
},
},
})

Properties

defaultFrom?

optional defaultFrom?: EmailFromField

The default sender's details. If you set this field, you don't need to provide the from field when sending an email.


provider

provider: EmailSenderProviderName

Provider Wasp uses to deliver outgoing emails.