[bugfix] fix bug in connect_to_mail_server function
This commit is contained in:
1 parent
16fbbde3d9
commit
fcba73fcc5
1 file changed
+1
-1
@@ -326,5 +326,5 @@ def connect_to_mail_server(mail_params):
|
|||||||
else:
|
else:
|
||||||
logging.error('Unknown authentication type. Mails can not be sent')
|
logging.error('Unknown authentication type. Mails can not be sent')
|
||||||
return
|
return
|
||||||
s.login(mail_params.get('user'), mail_params.get('password'))
|
s.login(user, password)
|
||||||
return s
|
return s
|
||||||
Reference in new issue
Block a user