Skip to content

Commit 11342a9

Browse files
committed
README: instruction of multiple receiver format
1 parent 5df45a5 commit 11342a9

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,40 @@ Options:
3535
}
3636
```
3737

38+
Please note the comma is able to be used as a receiver separator to send multiple people. For example, the following 3
39+
formats are all working:
40+
41+
A space following a comma
42+
```json
43+
{
44+
"common_data": {},
45+
"unique_data": [
46+
{"receiver_email": "somerec01@somedomain, somerec02@somedomain"}
47+
]
48+
}
49+
```
50+
51+
No space following a comma
52+
```json
53+
{
54+
"common_data": {},
55+
"unique_data": [
56+
{"receiver_email": "somerec01@somedomain,somerec02@somedomain"}
57+
]
58+
}
59+
```
60+
61+
Or mix both of the above two types
62+
```json
63+
{
64+
"common_data": {},
65+
"unique_data": [
66+
{"receiver_email": "somerec01@somedomain, somerec02@somedomain,somerec03@somedomain"}
67+
]
68+
}
69+
```
70+
71+
3872
* `--mails_path PATH`: The output path of the mails. The mail will be named as the receivers email address.
3973

4074
### Step 2: Send the generated mails
@@ -56,6 +90,8 @@ Options:
5690
}
5791
```
5892

93+
Please note the comma is used as a receiver separator to send multiple people.
94+
5995
* `--mails_path PATH`: The path of the mails to sent.
6096

6197
By issuing the `send_mail.py` command,

0 commit comments

Comments
 (0)