add CC to czhang@wtamu.edu when a new member join
This commit is contained in:
@@ -10,6 +10,7 @@ def send_email(sender_email, password, to_email, subject):
|
|||||||
message['Subject'] = subject # Set the email subject
|
message['Subject'] = subject # Set the email subject
|
||||||
message['From'] = sender_email # Set the sender's email address
|
message['From'] = sender_email # Set the sender's email address
|
||||||
message['To'] = to_email # Set the recipient'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 for the email body
|
||||||
html_content = """
|
html_content = """
|
||||||
|
|||||||
Reference in New Issue
Block a user