Skip to content

zapal-tech/payload-email-sweego

Repository files navigation

Sweego REST Email Adapter for Payload CMS

This adapter allows you to send emails using the Sweego REST API.

Installation

pnpm add @zapal/payload-email-sweego

Usage

  • Sign up for a Sweego account
  • Create an API key
  • Set API key as SWEEGO_API_KEY environment variable
  • Configure your Payload config
// payload.config.js
import { sweegoAdapter } from '@zapal/payload-email-sweego'

export default buildConfig({
  email: sweegoAdapter({
    defaultFromAddress: 'hello@zapal.tech',
    defaultFromName: 'Zapal',
    apiKey: process.env.SWEEGO_API_KEY || '',
  }),
})

About

Payload CMS Sweego Email Adapter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published