From 93333eed26cffcf2d7f52d8e0cc1b9091a9f1843 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Thu, 24 Aug 2023 16:57:05 +1000 Subject: [PATCH] main: Cleaned up email --- master/main.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/master/main.py b/master/main.py index f314b0b..833ec47 100644 --- a/master/main.py +++ b/master/main.py @@ -275,7 +275,12 @@ def stripeapi(): context = ssl.create_default_context() with smtplib.SMTP_SSL(host, port, context=context) as server: server.login(user, password) - server.sendmail(from_email, email, "Your licence key is: " + licence_key) + message = """\ + Subject: Your Licence key + + Your licence key is: """ + licence_key + + server.sendmail(from_email, email, message)