improving accuracy of README.md

This commit is contained in:
git 2025-08-26 12:13:51 +01:00
parent 7382527340
commit df26b1a859

View File

@ -1,6 +1,7 @@
# 📬 Email Webhook Receiver for ForwardEmail.net
This is a simple PHP webhook endpoint designed to receive incoming emails from [ForwardEmail.net](https://forwardemail.net). The script stores the raw email (`.eml`) files in a structured folder hierarchy and optionally triggers processing scripts per sender.
This is a simple PHP webhook endpoint designed to receive incoming emails from [ForwardEmail.net](https://forwardemail.net).
The script stores the raw email (`.eml`) files in a structured folder hierarchy and optionally triggers processing scripts per sender.
---
@ -75,11 +76,11 @@ You can test the webhook manually via CLI:
```bash
php index.php < sample.json
```
Where sample.json contains a raw test email in JSON format.
Where sample.json contains a raw test email in JSON format (in ForwardEmail.net format).
🛠️ Optional Per-Sender Automation
🛠️ [Optional] AUTO-PROCESSING emails (per-sender)
To auto-process incoming emails, create either:
• index.sh: a shell script that reads from stdin