Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

supersendtx-payload

Payload CMS email adapter for SuperSend TX — auth mail and payload.sendEmail() over the HTTP API.

Install

npm install supersendtx-payload supersendtx
SUPERSENDTX_API_KEY=stx_your_key_here

Usage

import { buildConfig } from 'payload'
import { supersendtxAdapter } from 'supersendtx-payload'

export default buildConfig({
  email: supersendtxAdapter({
    defaultFromAddress: 'noreply@yourdomain.com',
    defaultFromName: 'Acme',
    // apiKey: process.env.SUPERSENDTX_API_KEY,
  }),
  // ...collections, etc.
})

Also available as import { supersendtxAdapter } from 'supersendtx/payload'.

Prefer Nodemailer? Use supersendtx-nodemailer with @payloadcms/email-nodemailer instead.

Docs

https://docs.supersendtx.com/guides/payload

License

MIT

About

Payload CMS email adapter for SuperSend TX

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages