Skip to content

mrocklin/mailFeed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MailFeed
========

A simple script to easily pull incoming e-mails from a webserver.

E-mail is a strikingly complex protocol. Managing e-mail logins, servers, and representations takes a surprisingly large amount of work. The attached code is intended to abstract this clutter into a nice Pythonic iterator

Example: 
>>> from mailFeed import mailFeed
>>> inbox = mailFeed(username='sam', password='123', host='imap.gmail.com')

>>> for mail in inbox:
...     print mail


This code runs forever. inbox is a generator or infinite list. It will keep waiting for more e-mails to arrive so that it can process them. 


Installation
------------

This is a simple pure python script. No installation is required.

About

Python code to access incoming mail from a gmail account

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages