From 4e39aace373c3f356fa584ee2c536064c4c70865 Mon Sep 17 00:00:00 2001 From: hbrain Date: Mon, 1 Jun 2026 13:20:47 +0200 Subject: [PATCH] Updated for contact sendmail --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 989a004..438cab5 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ Features: - Dark cinematic MVLog theme - Sticky compact header -- RSS icon in the header +- Compact stacked header actions: notifications, RSS, contact - One video per row - Metadata display: - title @@ -72,6 +72,21 @@ Features: - right-click disabled on videos - Video metadata cached in `cache/videos.json` +### Contact page + +`contact.php` provides a simple contact form (name, email, message) with a honeypot field. + +Mail recipient config: + +```php +// /var/www/html/mvlog/contact.php +$to_email = 'your-real-email@example.com'; +``` + +Replace that with the real recipient address. + +The form uses PHP `mail()`, so server mail delivery must be configured (sendmail/postfix/msmtp or equivalent). + ### RSS feed `feed.php` exposes an RSS feed of recent videos: