.env file in Next.js changes the behaviour of mailgun.js
I have thought about whether client/server components may be causing the issue. But the issue persists whether I add ‘use client’ or ‘use server’ right after the export async function sendEmail(email: any) {
line.
.env file in Next.js changes the behaviour of mailgun.js
I have thought about whether client/server components may be causing the issue. But the issue persists whether I add ‘use client’ or ‘use server’ right after the export async function sendEmail(email: any) {
line.