Advertisement
Guest User

Untitled

a guest
Jan 20th, 2016
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. #server.login(username, password)
  2.  
  3. config = ConfigParser.ConfigParser()
  4. config.read("/etc/passwords.ini")
  5.  
  6. MAIL_USERNAME = config.get('xxx', 'USER')
  7. MAIL_PASSWORD = config.get('xxx', 'PASSWD')
  8. MAIL_SERVER = config.get('xxx', 'MAIL_SERVER')
  9. MAIL_PORT = 587
  10. MAIL_USE_TLS = True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement