1. Home
  2. Computing & Technology
  3. Python

Retrieving POP3 Email with poplib

From Al Lukaszewski, for About.com

4 of 5

Safely Getting the Password

To get the password for the account, we use the getpass() function from the getpass module.

Mailbox.pass_(getpass.getpass())
This allows entry of the password in a secured manner.

Having logged in successfully, we just need to download the messages.
Explore Python
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Python

©2009 About.com, a part of The New York Times Company.

All rights reserved.