1.10.10 • Published 6 months ago

@rubixstudios/payload-unsend v1.10.10

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Unsend REST Email Adapter

This adapter allows PayloadCMS to send emails using the Unsend REST API.

npm version

Installation

pnpm add @rubixstudios/payload-unsend

Usage

  • Sign up for a Unsend account
  • Set up a domain
  • Create an API key
  • Set API key as UNSEND_API_KEY environment variable
  • Set your Unsend base url as UNSEND_URL environment variable
  • Configure your Payload config
// payload.config.js
import { unsendAdapter } from '@rubixstudios/payload-unsend'

export default buildConfig({
  email: unsendAdapter({
    defaultFromAddress: 'hello@rubixstudios.com.au',
    defaultFromName: 'Rubix Studios',
    apiKey: process.env.UNSEND_API_KEY || '',
    unsendurl: process.env.UNSEND_URL || 'https://rubixstudios.com.au'
  }),
})
1.10.10

6 months ago

1.10.9

6 months ago

1.10.8

6 months ago

1.10.7

6 months ago

1.10.6

6 months ago