2016-07-28 15:01:35 +02:00
|
|
|
remove_recipients.py
|
2016-07-28 10:47:25 +02:00
|
|
|
====================
|
|
|
|
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 15:01:35 +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 15:01:35 +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 15:01:35 +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 15:01:35 +02:00
|
|
|
python remove_recipients.py --user user --remove example.com
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
webapp_settings.py
|
|
|
|
==================
|
|
|
|
|
|
|
|
#### Usage:
|
|
|
|
|
|
|
|
|
|
|
|
###### Backup
|
|
|
|
|
|
|
|
```python
|
|
|
|
python webapp_settings.py --user user --backup
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
###### Restore
|
|
|
|
|
|
|
|
```python
|
|
|
|
python webapp_settings.py --user user --restore
|
|
|
|
```
|