fixed newline issue

This commit is contained in:
git 2025-06-17 14:26:33 +01:00
parent 401c7a2bbc
commit a537ccd109

View File

@ -17,13 +17,13 @@ This is a simple PHP webhook endpoint designed to receive incoming emails from [
## 📁 Folder Structure
data/
└── emails/
└── example.com/
└── alice/
├── 65ef123e4c1a0.eml
├── index.php # optional
└── index.sh # optional
data/
└── emails/
└── example.com/
└── alice/
├── 65ef123e4c1a0.eml
├── index.php # optional
└── index.sh # optional
---
@ -82,17 +82,17 @@ Where sample.json contains a raw test email in JSON format.
🛠️ Optional Per-Sender Automation
To auto-process incoming emails, create either:
• index.sh: a shell script that reads from stdin
• index.php: a PHP script that reads from stdin
• index.sh: a shell script that reads from stdin
• index.php: a PHP script that reads from stdin
These will be triggered automatically upon email arrival.
📦 Dependencies
• PHP 7.0+
• No external dependencies (uses built-in PHP functions)
• A small helper file at receiveEmail/lib.php (ensure its present)
• PHP 7.0+
• No external dependencies (uses built-in PHP functions)
• A small helper file at receiveEmail/lib.php (ensure its present)