@payloadcms/email-resend
v3.84.1
Published
Payload Resend Email Adapter
Downloads
120,335
Maintainers
Keywords
Readme
Resend REST Email Adapter
This adapter allows you to send emails using the Resend REST API.
Installation
pnpm add @payloadcms/email-resendUsage
- Sign up for a Resend account
- Set up a domain
- Create an API key
- Set API key as RESEND_API_KEY environment variable
- Configure your Payload config
// payload.config.js
import { resendAdapter } from '@payloadcms/email-resend'
export default buildConfig({
email: resendAdapter({
defaultFromAddress: '[email protected]',
defaultFromName: 'Payload CMS',
apiKey: process.env.RESEND_API_KEY || '',
}),
})