Home arrow Python arrow Python Email Libraries, part 1: POP3

Python Email Libraries, part 1: POP3

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.

TABLE OF CONTENTS:
  1. Python Email Libraries, part 1: POP3
  2. The POP Protocol
  3. Getting Message Info
  4. Getting Messages from the Server
By: Michael Swanson
Rating: starstarstarstarstar / 27
May 11, 2005

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

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
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

PYTHON ARTICLES

- Python Big Data Company Gets DARPA Funding
- Python 32 Now Available
- Final Alpha for Python 3.2 is Released
- Python 3.1: String Formatting
- Python 3.1: Strings and Quotes
- Python 3.1: Programming Basics and Strings
- Tuples and Other Python Object Types
- The Dictionary Python Object Type
- String and List Python Object Types
- Introducing Python Object Types
- Mobile Programming using PyS60: Advanced UI ...
- Nested Functions in Python
- Python Parameters, Functions and Arguments
- Python Statements and Functions
- Statements and Iterators in Python

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: