Skip to content

Commit e29ad9e

Browse files
committed
Usage comments
1 parent bd3ef12 commit e29ad9e

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

scripts/interest_form_emails.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
#!/usr/bin/env python3
2+
"""
3+
This script sends templated emails to a list of recipients from a CSV file.
4+
5+
USAGE:
6+
python interest_form_emails.py <path_to_csv_file>
7+
8+
REQUIREMENTS:
9+
- CSV file must contain an "Email" column with valid email addresses
10+
"""
11+
212
import os
313
import sys
414
import csv
@@ -50,7 +60,7 @@ def parse_csv(csv_filename):
5060
else:
5161
failed_count += 1
5262

53-
time.sleep(0.1) # Add delay to avoid rate limiting
63+
time.sleep(0.1) # Add delay to avoid rate limiting
5464

5565
print(f"\nSent: {sent_count} | Failed: {failed_count}")
5666

0 commit comments

Comments
 (0)