[bugfix] fix bug in connect_to_mail_server function

This commit is contained in:
Kasper D. Fischer 2025-03-21 22:42:23 +01:00
parent 16fbbde3d9
commit fcba73fcc5

View File

@ -326,5 +326,5 @@ def connect_to_mail_server(mail_params):
else:
logging.error('Unknown authentication type. Mails can not be sent')
return
s.login(mail_params.get('user'), mail_params.get('password'))
s.login(user, password)
return s