feat(contact): add contact form and server-side email via SMTP (Office365); .env.example updated

This commit is contained in:
Alex Polo
2025-10-29 10:34:14 +01:00
parent dda9b515e1
commit 19ea933927
6 changed files with 174 additions and 37 deletions

View File

@@ -9,4 +9,14 @@ DB_NAME=your-db-name
# Admin credentials
ADMIN_USER=your-admin-username
ADMIN_PASSWORD=your-admin-password
ADMIN_PASSWORD=your-admin-password
# SMTP (Office365) settings for sending contact/booking emails
# Use the Office365 SMTP endpoint and a mailbox account that can send (e.g. christian@warme.dk)
SMTP_HOST=smtp.office365.com
SMTP_PORT=587
SMTP_USER=your-smtp-user@example.com
SMTP_PASS=your-smtp-password
# The recipient for booking messages (defaults to christian@warme.dk)
BOOKING_EMAIL=christian@warme.dk