mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-08-04 07:52:35 +02:00
Update smtp.py
This commit is contained in:
+1
-1
@@ -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'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user