Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #server.login(username, password)
- config = ConfigParser.ConfigParser()
- config.read("/etc/passwords.ini")
- MAIL_USERNAME = config.get('xxx', 'USER')
- MAIL_PASSWORD = config.get('xxx', 'PASSWD')
- MAIL_SERVER = config.get('xxx', 'MAIL_SERVER')
- MAIL_PORT = 587
- MAIL_USE_TLS = True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement