[bugfix] fix bug in connect_to_mail_server function
This commit is contained in:
parent
16fbbde3d9
commit
fcba73fcc5
2
utils.py
2
utils.py
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user