Vahny
Vahny
> > I figured the alternative is switching to a different communication provider 🙄 > > can't we use nodemailer with brevo? Ya, I just ended up using nodemailer and...
`import { NextRequest, NextResponse } from "next/server"; import nodemailer from 'nodemailer' export async function POST(request:NextRequest) { try { const {firstName, lastName, email, message} = await request.json(); const transporter = nodemailer.createTransport({...
> `import { NextRequest, NextResponse } from "next/server"; import nodemailer from 'nodemailer' > > export async function POST(request:NextRequest) { > > ``` > try { > const {firstName, lastName, email,...