Fixing error on 'email' variable
This commit is contained in:
parent
e02e6ba05c
commit
f3d6530cc3
@ -19,5 +19,5 @@ def smtp(config):
|
|||||||
smtp_server.ehlo()
|
smtp_server.ehlo()
|
||||||
smtp_server.starttls()
|
smtp_server.starttls()
|
||||||
smtp_server.login( config['login']['email'], config['login']['password'] )
|
smtp_server.login( config['login']['email'], config['login']['password'] )
|
||||||
smtp_server.sendmail('&&&&&&', email, msg.as_string() )
|
smtp_server.sendmail('&&&&&&', config['to'], msg.as_string() )
|
||||||
smtp_server.quit()
|
smtp_server.quit()
|
||||||
|
Loading…
Reference in New Issue
Block a user