2016-07-28 10:47:25 +02:00
|
|
|
remove-recipients.py
|
|
|
|
====================
|
|
|
|
Remove recipients in webapp
|
|
|
|
|
|
|
|
|
2016-07-28 10:48:36 +02:00
|
|
|
#### Usage:
|
2016-07-28 10:47:25 +02:00
|
|
|
|
2016-07-28 10:48:36 +02:00
|
|
|
###### List recipients
|
2016-07-28 10:47:25 +02:00
|
|
|
|
2016-07-28 14:18:08 +02:00
|
|
|
```python
|
2016-07-28 14:19:10 +02:00
|
|
|
python remove-recipients.py --user <user> --list
|
2016-07-28 14:18:08 +02:00
|
|
|
```
|
2016-07-28 10:48:36 +02:00
|
|
|
###### Remove recipient
|
2016-07-28 10:47:25 +02:00
|
|
|
Remove options is searching in display_name, smtp_address or email_address.
|
|
|
|
|
2016-07-28 14:18:08 +02:00
|
|
|
```python
|
2016-07-28 14:19:10 +02:00
|
|
|
python remove-recipients.py --user <user> --remove <recipient name>
|
2016-07-28 14:18:08 +02:00
|
|
|
```
|
|
|
|
|
2016-07-28 10:48:36 +02:00
|
|
|
###### Clear history
|
2016-07-28 10:47:25 +02:00
|
|
|
|
2016-07-28 14:18:08 +02:00
|
|
|
```python
|
2016-07-28 14:19:10 +02:00
|
|
|
python remove-recipients.py --user <user> --remove-all
|
2016-07-28 14:18:08 +02:00
|
|
|
```
|
2016-07-28 10:47:25 +02:00
|
|
|
|
2016-07-28 10:48:36 +02:00
|
|
|
#### Example
|
2016-07-28 10:47:25 +02:00
|
|
|
|
|
|
|
Remove all recipients that have example.com in there display_name, smtp_address or email_address
|
|
|
|
|
2016-07-28 14:18:08 +02:00
|
|
|
```python
|
2016-07-28 14:19:10 +02:00
|
|
|
python remove-recipients.py --user user --remove example.com
|
2016-07-28 14:18:08 +02:00
|
|
|
```
|