fixed newline issue
This commit is contained in:
parent
401c7a2bbc
commit
a537ccd109
24
README.md
24
README.md
@ -17,13 +17,13 @@ This is a simple PHP webhook endpoint designed to receive incoming emails from [
|
|||||||
|
|
||||||
## 📁 Folder Structure
|
## 📁 Folder Structure
|
||||||
|
|
||||||
data/
|
data/
|
||||||
└── emails/
|
└── emails/
|
||||||
└── example.com/
|
└── example.com/
|
||||||
└── alice/
|
└── alice/
|
||||||
├── 65ef123e4c1a0.eml
|
├── 65ef123e4c1a0.eml
|
||||||
├── index.php # optional
|
├── index.php # optional
|
||||||
└── index.sh # optional
|
└── index.sh # optional
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -82,17 +82,17 @@ Where sample.json contains a raw test email in JSON format.
|
|||||||
🛠️ Optional Per-Sender Automation
|
🛠️ Optional Per-Sender Automation
|
||||||
|
|
||||||
To auto-process incoming emails, create either:
|
To auto-process incoming emails, create either:
|
||||||
• index.sh: a shell script that reads from stdin
|
• index.sh: a shell script that reads from stdin
|
||||||
• index.php: a PHP script that reads from stdin
|
• index.php: a PHP script that reads from stdin
|
||||||
|
|
||||||
These will be triggered automatically upon email arrival.
|
These will be triggered automatically upon email arrival.
|
||||||
|
|
||||||
⸻
|
⸻
|
||||||
|
|
||||||
📦 Dependencies
|
📦 Dependencies
|
||||||
• PHP 7.0+
|
• PHP 7.0+
|
||||||
• No external dependencies (uses built-in PHP functions)
|
• No external dependencies (uses built-in PHP functions)
|
||||||
• A small helper file at receiveEmail/lib.php (ensure it’s present)
|
• A small helper file at receiveEmail/lib.php (ensure it’s present)
|
||||||
|
|
||||||
⸻
|
⸻
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user