Skip to main content
Version: v4-unreleased

Email Provider options

NameDescriptionTypeRequired
idUnique ID for the providerstringYes
nameDescriptive name for the providerstringYes
typeType of provider, in this case email"email"Yes
serverPath or object pointing to the email serverstring or ObjectYes
sendVerificationRequestCallback to execute when a verification request is sent(params) => Promise<undefined>Yes
fromThe email address from which emails are sent, default: "no-reply@example.com"stringNo
maxAgeHow long until the e-mail can be used to log the user in seconds. Defaults to 1 daynumberNo