main: Cleaned up email
All checks were successful
Build Docker / Build Bot (push) Successful in 24s
Build Docker / Build Master (push) Successful in 24s

This commit is contained in:
Nathan Woodburn 2023-08-24 16:57:05 +10:00
parent eb137b85d3
commit 93333eed26
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -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)