Python
  Home arrow Python arrow Python Email Libraries, part 1: POP3
FaxWave - Free Trial.
Dev Shed Forums 
Administration  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Download TestComplete 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
IBM Developerworks
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
PYTHON

Python Email Libraries, part 1: POP3
By: Michael Swanson
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 21
    2005-05-11

    Table of Contents:
  • Python Email Libraries, part 1: POP3
  • The POP Protocol
  • Getting Message Info
  • Getting Messages from the Server

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    FaxWave - Free Trial.
     
    ADVERTISEMENT

    Route your faxes to your email inbox. Private, secure fax numbers available from CallWave. Choose your fax number.

    Python Email Libraries, part 1: POP3
    (Page 1 of 4 )

    Some very useful business software connects with and interacts with email in various ways. If you are building or working with such software, you might want to know how Python accomplishes these tasks. This article series discusses how to use the email libraries built into Python. In this first part, POP3 is covered.

    Introduction

    Many software systems require the ability to connect with and provide services that interact with email in different ways. Perhaps you’re writing software for a bulletin board that must notify users when new responses are posted in certain topics, or a piece of scheduling software that must notify users when new engagements are assigned to them. There are, of course, many further applications for integration between business or Web software with email. 

    Integrating with email allows for advantages from both business and portability perspectives. From a business perspective, integrating your software with email allows users to use their email accounts as a central place in which to get notifications and information about a wide range of business objectives. From a portability viewpoint, email adds a layer of abstraction, making it possible for a user to receive alerts from your software in any way they choose: via a classic email client, a Web client from a public computer or home, or even a cell phone or Blackberry capable of accessing standard email protocols.
     
    This article series will discuss how to use the email libraries built in to Python. I will describe how to access email on both POP and IMAP servers, how to parse this mail into easily usable data structures, and how to create email items and then send them through an SMTP server.

    More Python Articles
    More By Michael Swanson


       · You should run your code before pasting it into your article. It's full of errors...
       · I'm Mike Swanson, the author of this article.I'm sorry my code isn't working for...
       · it was quite helpful. some small bugs are there but its ok.
       · Hi there, I found this very useful so thanks. However there are a few errors in this...
     

       

    PYTHON ARTICLES

    - SSH with Twisted
    - Mobile Programming in Python using PyS60: UI...
    - Python: Count on It
    - Python Strings: Spinning Yarns
    - Python: More Fun with Strings
    - Python: Stringing You Along
    - Python Operators
    - Bluetooth Programming in Python: Network Pro...
    - Python Sets
    - Python Conditionals, Lists, Dictionaries, an...
    - Python: Input and Variables
    - Introduction to Python Programming
    - Mobile Programming in Python using PyS60: Ge...
    - Bluetooth Programming using Python
    - Finishing the PyMailGUI Client: User Help To...




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway