- Add nodemailer@^7.0.7 and @types/nodemailer (v7 required by next-auth peer dep) - Create src/lib/contact-mailer.ts: Nodemailer SMTP transporter + sendContactEmail() - Create src/lib/contact-action.ts: Server Action with Zod validation, honeypot check - SMTP credentials read from CONTACT_EMAIL_USER/PASS/SMTP_HOST/PORT env vars - Add CONTACT_* placeholder vars to .env.local (gitignored, for local setup docs) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
286 KiB
286 KiB