Move to own folder and add webapp-admin

This commit is contained in:
Robin van Genderen
2019-02-06 12:56:25 +01:00
parent ea1f101839
commit 8bcf2041aa
12 changed files with 666 additions and 0 deletions

View File

@ -0,0 +1,34 @@
manage_recipients.py
====================
Manage recipients in webapp
#### Usage:
###### List recipients
```python
python remove_recipients.py --user <user> --list
```
###### Remove recipient
Remove options is searching in display_name, smtp_address or email_address.
```python
python remove_recipients.py --user <user> --remove <recipient name>
```
###### Clear history
```python
python remove_recipients.py --user <user> --remove-all
```
#### Example
Remove all recipients that have example.com in there display_name, smtp_address or email_address
```python
python remove_recipients.py --user user --remove example.com
```