ignore
This commit is contained in:
@@ -54,7 +54,6 @@ export async function POST(req: Request) {
|
||||
);
|
||||
}
|
||||
|
||||
// ✅ 2. ONLY NOW send emails
|
||||
const transporter = nodemailer.createTransport({
|
||||
host: process.env.SMTP_HOST!,
|
||||
port: Number(process.env.SMTP_PORT),
|
||||
@@ -65,7 +64,6 @@ export async function POST(req: Request) {
|
||||
},
|
||||
});
|
||||
|
||||
// Admin email
|
||||
await transporter.sendMail({
|
||||
from: `"Contact Form" <${process.env.SMTP_USER!}>`,
|
||||
to: process.env.CONTACT_EMAIL!,
|
||||
@@ -78,7 +76,6 @@ export async function POST(req: Request) {
|
||||
`,
|
||||
});
|
||||
|
||||
// Confirmation email
|
||||
await transporter.sendMail({
|
||||
from: `"4l3ks.com" <${process.env.SMTP_USER!}>`,
|
||||
to: email,
|
||||
|
||||
Reference in New Issue
Block a user