Update smtp.py

This commit is contained in:
SpudGunMan
2024-12-09 18:55:08 -08:00
parent c45cf5d207
commit c6958c7c69
+1 -1
View File
@@ -40,7 +40,7 @@ def send_email(to_email, message, nodeID=0):
# Create message
msg = MIMEMultipart()
msg['From'] = FROM_EMAIL
msg['To'] = to_email
msg['To'] = to_email.strip()
msg['Subject'] = EMAIL_SUBJECT
msg.attach(MIMEText(message, 'plain'))