summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/profiling/spam.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/profiling/spam.py b/scripts/profiling/spam.py
index 091a8c48..afa26837 100755
--- a/scripts/profiling/spam.py
+++ b/scripts/profiling/spam.py
@@ -31,7 +31,7 @@ def _send_email(host, subject, to_addr, from_addr, body_text):
"",
body_text
), "\r\n")
- server = smtplib.SMTP(host)
+ server = smtplib.SMTP_SSL(host)
server.sendmail(from_addr, [to_addr], body)
server.quit()