fix: dogfood resend transport

This commit is contained in:
Mythie
2023-09-29 12:17:41 +10:00
parent 5b9ce55a6d
commit 0527641a4f
4 changed files with 15 additions and 146 deletions

View File

@ -1,7 +1,8 @@
import { createTransport } from 'nodemailer';
import { ResendTransport } from '@documenso/nodemailer-resend';
import { MailChannelsTransport } from './transports/mailchannels';
import { ResendTransport } from './transports/resend';
const getTransport = () => {
const transport = process.env.NEXT_PRIVATE_SMTP_TRANSPORT ?? 'smtp-auth';