supersendtx-payload
v0.15.3
Published
Payload CMS email adapter for SuperSend TX transactional email
Downloads
903
Maintainers
Readme
supersendtx-payload
Payload CMS email adapter for SuperSend TX — auth mail and payload.sendEmail() over the HTTP API.
Install
npm install supersendtx-payload supersendtxSUPERSENDTX_API_KEY=stx_your_key_hereUsage
import { buildConfig } from 'payload'
import { supersendtxAdapter } from 'supersendtx-payload'
export default buildConfig({
email: supersendtxAdapter({
defaultFromAddress: '[email protected]',
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
