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",
email: "hello@itsme.com",
},
},
})
Propertiesโ
defaultFrom?โ
optionaldefaultFrom?: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.