1. Home
  2. Computing & Technology
  3. Python

Retrieving POP3 Email with poplib

From , former About.com Guide

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

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

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

  1. Home
  2. Computing & Technology
  3. Python

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

All rights reserved.