Wrong variable logged in email notification
This commit is contained in:
1 parent
d6fa5c97db
commit
d023eb8f1f
1 file changed
+1
-1
@@ -33,7 +33,7 @@ class Email(Notification):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
# Open the SMTP connection, via SSL if requested
|
# Open the SMTP connection, via SSL if requested
|
||||||
log.debug("Connecting to host %s on port %s" % (smtp_host, smtp_port))
|
log.debug("Connecting to host %s on port %s" % (smtp_server, smtp_port))
|
||||||
log.debug("SMTP over SSL %s", ("enabled" if ssl == 1 else "disabled"))
|
log.debug("SMTP over SSL %s", ("enabled" if ssl == 1 else "disabled"))
|
||||||
mailserver = smtplib.SMTP_SSL(smtp_server) if ssl == 1 else smtplib.SMTP(smtp_server)
|
mailserver = smtplib.SMTP_SSL(smtp_server) if ssl == 1 else smtplib.SMTP(smtp_server)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user