Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def connect_mail():
- user = 'incident.response@brunswick.com'
- password = '#dNNv78E$TmS'
- try:
- mail = imaplib.IMAP4_SSL('127.0.0.1', 111)
- mail.login(user, password)
- return mail
- except Exception as e:
- print "[!] Error: " + str(e)
- exit(1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement