imap

Creating an IMAP client application in Silverlight

I'd like to make a stripped down email client for my pre-schooler using Silverlight 3 and pulling email from a Gmail account. I'll have some filters setup in Gmail so that only a subset of email is given a particular label, similar to creating a whitelist. Then, I'd like to pull those emails with that label to the Silverlight client....

Java/Ruby based IMAP proxy library

I'm looking to create an IMAP proxy to a custom back-end mail and document storage engine and was wondering if there are already any production-ready, stable libraries I can pull on for interacting with the client via IMAP so I just have to write the backend code for mailboxes, listing, retrieving messages, etc. ...

Creating messages (ie drafts) in Gmail with IMAP/SMTP?

I've done quite a bit of inbox manipulation with Gmail via IMAP functions in PHP, but one thing I haven't found is a way to create messages. I'm not sure if IMAP or SMTP is required, but I would like to use PHP to create a new message (specifically a draft) that is stored in my inbox with everything ready to hit send at a later date. How...

PHP IMAP Formatting

I have wrote a simple php script which reads an IMAP email account and displays the body of the most recent mail. There is just one problem, it won't keep the new lines properly. It just puts it all on one line. I use imap_fetchbody($conn, $latest, "1"); to read the body of the email. How do I keep the original formatting with all t...

Is there such a thing as IMAP for podcasts?

Is there such a thing as IMAP for podcasts? I own a desktop, laptop, iPod, smartphone and a web-client all downloading StackOverflow Podcasts. (among others) They all tell me which episodes are available and which are already played. Everything is a horrible mess, ofcourse. My iPod is somewhat in sync with my desktop, but everything el...

Moving IMAP mail to Gmail and retaining correct times

I am trying to use gmail to manage mail from an email account I have that is imap only. My strategy was to use (getmail to retrieve mail from the server and pass it through to procmail for forwarding. This almost works. It successfully retrieves the mail and forwards it on to my gmail account. What it does not do it keep the appropr...

Download and extract information from emails in gmail

I want to download mails from all items and do some analysis on the mails. this will probably involve 2 distinct components. download the mails using IMAP parse unstructured data in the emails to extract information from them. no - its no the usual extract email adresses from the mails. probably quite a bit more complex than that. i...

Connecting to Gmail through IMAP with PHP - SSL context failed

I'm trying to connect to Gmail through IMAP with PHP running in Apache. This is on an Ubuntu 9.04 system. I've got some sort of PHP configuration issue that is keeping this from working. First, here's what I did to setup IMAP for PHP: sudo apt-get install libc-client2007b libc-client2007b-dev sudo apt-get install php5-imap sudo /etc/...

How can I filter then modify e-mails using IMAP?

I have asked this question in a different post here on SO: How can a read receipt be suppressed? I have been doing some research of my own to try and solve this problem and accessing the e-mail account via IMAP seems like it is going to be a good solution. I have successfully been able to access my own Inbox and mark messages as read ...

Javamail, IMAP and Kerberos

Hi guys, I'm using javamail to check an IMAP inbox, and at the moment I'm simply logging into the IMAP server by storing the username and password. Our security policy at work requires this to be kerberised however. I've been reading up on javamail, IMAP and kerberos, and some resources say it isn't possible, whilst others suggest it i...

creating folders in IMAP does not work

Hi, I am trying hard to create a folder in IMAP (I am using gmail) Here is what i have attempted so far: public boolean createFolder(String folderName) throws MessagingException { store = session.getStore("imap"); System.out.println("connecting store.."); store.connect("imap.gmail.com", 993, "[email protected]", "pass...

Parse Gmail with Python and mark all older than date as "read"

Long story short, I created a new gmail account, and linked several other accounts to it (each with 1000s of messages), which I am importing. All imported messages arrive as unread, but I need them to appear as read. I have a little experience with python, but I've only used mail and imaplib modules for sending mail, not processing acco...

Setting up a MRA (fetchmail/getmail) to pull all folders from Gmail over POP/IMAP

I would like to setup fetchmail or getmail to pull email from Gmail. I would prefer it to be IMAP but I can live with POP as well. The issue I'm running into is that all these seem to want you to specify the exact list of folders you want checked (this is cleaner in IMAP than POP). This is a hassle since I frequently change my list of f...

problem by changing the status of a message to Unseen Seen using IMAP protocol with c #

I need to change the status of my messages to Unseen and Seen, through telnet I have no problem with the following line of code: IMAP003 UID STORE 25,26 +Flags (\Seen) but when I do it from an object tcp client with c # sending the same line of code I get the following error "Permission denied IMAP003", however with the other commands li...

How to write a unix script that gets notified with IMAP IDLE from Gmail?

I'm looking for a way to get notified in my unix system for new email. I know gmail supports IMAP IDLE, what is the best way to make use of that feature? Any programming language is fine, as long as it is supported in linux/unix. ...

PHP imap gmail not connecting [Edited!!]x2

I have some php code that I'm trying to use to connect to gmail using imap. Here's the code: $hostname = '{imap.gmail.com:993/imap/ssl/novalidate-cert}INBOX'; $tmp_username = 'username'; $tmp_password = 'password'; $inbox = imap_open($hostname, $username, $password) or die(imap_last_error()); And I get this error output everytime i tr...

PHP fsockopen Is Slow

I'm playing around with the IMAP protocol in PHP using fsockopen to send and receive commands. My preliminary experiments work but are insanely slow. It takes about 2 minutes for the simple function below to run. I've tried several different IMAP servers and have gotten the same result. Can anyone tell me why this code is so slow? <?php...

Can i track an IMAP mail reply ?

Hi, I am working on an IMAP client using java mail. We currently have a requirement of creating a "group by conversation" feature where user can view mails as conversation (Refer to how gmail groups mails that are replied and forwarded) I am able to retrieve mails from the server, but in the mail parts i recieve, the replied mail is "fu...

Need a way to search mail for a message id using imap

Hi, I am using Java Mail api to access a gmail account (not fixed). I need to search all mails for a given Mail id (). The search should terminate on the FIRST occurence of the message with given ID (Optimization : only a single mail should exist with the given id) i would of course would like to skip the "All mail" folder. The simples...

IMAP interface access to existing user messaging system in Python

I am running a site where users can private message each other. As with any other such website, to read and mark their messages, users must log on to the site. I wish to expose an IMAP interface so that users may read their site messages using their standard email client. There would be few complications in such approach as what be user...