Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- import smtplib
- server = smtplib.SMTP('mail')
- server.set_debuglevel(True) # show communication with the server
- try:
- rfmonk_result = server.verify('rfmonk')
- notthere_result = server.verify('notthere')
- finally:
- server.quit()
- print 'rfmonk :', rfmonk_result
- print 'notthere:', notthere_result
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement