From c22dc09cc78352d0872754245d81dd1b319a5b09 Mon Sep 17 00:00:00 2001 From: mikl0s Date: Sun, 22 Feb 2026 21:57:11 +0000 Subject: [PATCH] docs: update .env.example with Office 365 SMTP and admin config Co-Authored-By: Claude Opus 4.6 --- .env.example | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/.env.example b/.env.example index f276831..831b54f 100644 --- a/.env.example +++ b/.env.example @@ -1,11 +1,22 @@ -# OpenRouteService API Key -# Get your free key at https://openrouteservice.org/dev/#/signup -# Free tier: 2,000 requests/day -OPENROUTE_API_KEY=your_api_key_here +# ─── Admin Login ──────────────────────────────────────────────────── +ADMIN_EMAIL=admin@example.com +ADMIN_PASSWORD=changeme -# Email configuration (for quote requests) -# SMTP_HOST=smtp.example.com -# SMTP_PORT=587 -# SMTP_USER=user@example.com -# SMTP_PASS=your_password -# EMAIL_TO=info@foamking.dk +# ─── Email (SMTP) ────────────────────────────────────────────────── +# Office 365: smtp.office365.com, port 587 +# Requires SMTP AUTH enabled for the sending account in Exchange Admin Center. +# See SETUP.md / OPSÆTNING.md for instructions. +SMTP_HOST=smtp.office365.com +SMTP_PORT=587 +SMTP_USER=tilbud@foamking.dk +SMTP_PASS=your_password_here +EMAIL_FROM_NAME=Foam King Prisberegner +EMAIL_TO=info@foamking.dk + +# ─── Base URL ─────────────────────────────────────────────────────── +NEXT_PUBLIC_BASE_URL=https://beregner.foamking.dk + +# ─── Distance Calculation (Optional) ─────────────────────────────── +# Without this key, distances are calculated from a built-in postal code table. +# Get a free key at https://openrouteservice.org/dev/#/signup (2,000 requests/day) +# OPENROUTE_API_KEY=your_api_key_here