Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
noogen committed Dec 28, 2018
1 parent d636c5a commit a173641
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a173641

Please sign in to comment.