-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,11 +15,17 @@ php -S 0.0.0.0:8888 -t public | |
# API | ||
|
||
## POST|GET /api/v1/bounces/hard}?email=[email protected] | ||
> Record email as hard bounce - block 8^7 minutes | ||
> Record email as hard bounce - block for 8^7 minutes | ||
## POST|GET /api/v1/bounces/soft?email=[email protected] | ||
> Record email as soft bounce - block exponentially in multiple of 8^n minutes | ||
1. First soft bounce, block for 8 minutes | ||
2. Second soft bounce within 8 minutes, block for 64 minutes | ||
3. Third soft bounce within 64 minutes, block for 512 minutes | ||
4. Forth soft bounce within 512 minutes, block for 4096 minutes ~ 3 days | ||
5. And so on... | ||
|
||
## POST|GET /api/v1/bounces/complaint?email=[email protected] | ||
> Record email as soft bounce - block exponentially for 8^3 minutes | ||
|