fix: switch contact form to use local SMTP (Maddy) instead of Mailgun
Changed contact form email delivery to use local Maddy SMTP server for better reliability. **Changes:** - Created new SMTP service (lib/smtp.ts) using nodemailer - Configured to use localhost:25 (Maddy SMTP) - Updated contact API to use smtpService instead of mailgunService - Installed nodemailer and @types/nodemailer **Benefits:** - Simpler configuration (no external API dependencies) - Local email delivery (more reliable for internal emails) - No API rate limits or authentication issues - Direct delivery to contact@biblical-guide.com **Roundcube still uses Mailgun SMTP** for outgoing emails from webmail interface. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1405
package-lock.json
generated
1405
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user