Tag : imap

Title User Language Tags Description Date
CFIMAP for Gmail to get System Folders tpryan ColdFusion March 8, 2011
MultiMap cfoley Java A map which allows several values to be mapped to each key. August 5, 2010
imapsync script to migrate Gmail to Google Apps ches Bash

Based on the good initial coverage over here.

July 28, 2009
Multimap / virtual earth code Mike Furmedge ASP.NET Renders a virtual earth map July 9, 2009
Multimap: Associating multiple values to a key. Jack Trainor python

Implementation of multimap based on lists, dicts, or sets using Python 2.5 defaultdict.

July 8, 2009
Fix invalid mail headers when moving from Thunderbird to IMAP Krys Wilken python

Removes ">From" and "From " lines from mail headers.

Thunderbird adds invalid mail headers to it's local folders. Cyrus IMAP is strict about them. This script walks through all files in the given directories and removes any line that starts with ">From" or "From " (note the space and no colon).

Requires Python 2.5+.

August 30, 2008
IMAP Backup Script denilw Python August 20, 2008
Parsing MIME email into parts d4rk PHP May 14, 2007
IMAP mail server attachment handler Suresh Kumar python

This python script monitors the IMAP mail server for the given account and moves the mails with attachments to "Downloadedmails" folder in server after downloading the attachments to the individual directories on localmachine with the timestamp.

October 10, 2006
JACL script to purge messages on IMAP server D. J. Hagberg python

This script was written before I found out about the Cyrus "ipurge" command. It connects to a Cyrus IMAP server as the administrator, finds all Trash folders and deletes all messages older than 1 day based on the Received date. Requires JavaMail's mail.jar and activation.jar in the classpath.

November 10, 2005
Imap class snoj PHP I quickly delevoped this for a email based auction script I'm working on now and then. It is similar to the php5 ftp class found at php.net/ftp but is written with php4.3 in mind. June 21, 2005
imapmethod and friends Michael Hoffman python

Ever been frustrated at having to separately read data and then do minor processing by calling methods on the data? Find yourself writing lambda functions or short generators to do intermediate processing between iterators? If so, you can simplify your programming life by using imapmethod instead. Imapmethod calls a named method on each item it iterates through. For example, you can replace [x.rstrip() for x in iterable], which inefficiently generates the whole list at once before processing begins, or the more efficient imap(lambda x: x.rstrip(), iterable) with imapmethod("rstrip", iterable) or even the provided irstrip(iterable).

This recipe also illustrates some more brain-twisting uses of itertools.

October 31, 2003
IMAP mailwatcher program using Tkinter Brent Burley python

Polls an IMAP inbox for unread messages and displays the sender and subject in a scrollable window using Tkinter.

Reads servername, user, and password from ~/.imap file. They must be on one line, separated with spaces.

March 22, 2001