We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd3ef12 commit e29ad9eCopy full SHA for e29ad9e
1 file changed
scripts/interest_form_emails.py
@@ -1,4 +1,14 @@
1
#!/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
12
import os
13
import sys
14
import csv
@@ -50,7 +60,7 @@ def parse_csv(csv_filename):
50
60
else:
51
61
failed_count += 1
52
62
53
- time.sleep(0.1) # Add delay to avoid rate limiting
63
+ time.sleep(0.1) # Add delay to avoid rate limiting
54
64
55
65
print(f"\nSent: {sent_count} | Failed: {failed_count}")
56
66
0 commit comments