add CC to czhang@wtamu.edu when a new member join

This commit is contained in:
Carl Zhang
2025-10-03 12:21:27 -05:00
parent dae3a9fed4
commit 840254aeb4

View File

@@ -10,6 +10,7 @@ def send_email(sender_email, password, to_email, subject):
message['Subject'] = subject # Set the email subject
message['From'] = sender_email # Set the sender's email address
message['To'] = to_email # Set the recipient's email address
message['CC'] = "czhang@wtamu.edu" # CC to faculty advisor
# HTML content for the email body
html_content = """