imap

Authentication Failed when connecting to Imap server

When I'm connecting to imap.gmail.com, the server is connected. But, the authentication is failed due to following error Server returned:CAPABILITY IMAP4rev1 UNSELECT LITERAL+ IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE Any Idea plz??? ...

Which PHP config is running when I forward from one directory to another?

I am testing an idea based on my last question, but I've run into a very interesting problem... My home directory is on one path of the server (where all home directories reside) and for reasons I can only guess at, the PHP config for that directory does not have IMAP turned on. However, my project directory, which exists on a test mir...

IMAP x Gmail => labels ?

Any experiences on a way to get gmail labels (or even filters ?) from an imap connection ? Can't find a clue... thx for any infos about it. ...

IMAP - javax.mail. - Fetching Only Body Without Attachment

Hi, I am trying to develop an IMAP email client using the javax.mail API. I have been able to contact the servers, fetch emails, attachments and other operations without any problem. However, we would not want to fetch the attachment until the user wants to view it explit in order to improve the performance. This would mean that we wou...

Finding Size of IMAP Message Prior to Uploading to Server

I'm working with IMAP and attempting to find a way to find the size of an IMAP message prior to actually uploading it to a server from a client (not a server-to-server transfer). Once the message is actually on the server, finding its size is relatively easy - you can just use a BODY structure then use mail_fetchstructure, as in: BODY ...

IMAPv4 Protocol

Hi all, Can you input some custom header/custom data in imap4 protocol. Thanks. ...

Error 324 (net::ERR_EMPTY_RESPONSE): Unknown error.

I get the following error in Chrome every time I try to run my script on a Linux server: Error 324 (net::ERR_EMPTY_RESPONSE): Unknown error. In Firefox it just shows a blank white page. Whenever I run it on my local test server (IIS on Windows 7) it runs exactly the way it should with no errors. I am pretty sure that it is a problem wi...

Libraries for writting imap mail _server_ in Java

I've read this: http://java.sun.com/products/javamail/javadocs/com/sun/mail/imap/package-summary.html I want to write an imap server rather than imap client in Java. What libraries should I be looking into? Thanks! ...

Find new messages added to an imap mailbox since I last checked with python libimap2?

I am trying to write a program that monitors an IMAP mailbox and automatically copies every new incoming message into an "Archive" folder. I'm using imaplib2 which implements the IDLE command. Here's my basic program: M = imaplib2.IMAP4("mail.me.com") M.login(username,password) lst = M.list() assert lst[0]=='OK' for mbx in lst[1]: p...

IMAP fetch of a mime part without fetching the whole message

I need some help formulating an IMAP fetch command to only fetch a certain mime attachment without fetching the whole body or other attachment. Given the following bodystructure (BODYSTRUCTURE (("text" "html" ("charset" "utf-8") NIL NIL "base64" 568 8 NIL NIL NIL) "mixed" ("boundary" "===============0621936444==") NIL NIL)) how would ...

Determining the uid of a message appended to a mailbox via IMAP

How do I determine the UID of a message which is added via APPEND to a mailbox? Through STATUS I can get a prediction of the next value beforehand and I can SEARCH afterwards, but relying on these introduces a race condition as other messages might have been added between these commands. ...

what is the difference between the php imap extenstion and one of the mail classes?

I need my application to send and receive emails on certain events. I think I would like to use a mail server also to implement an in-application mailing ability, like the ability to send/receive/delete messages in applications like linkedin. What would be a good tool, a PHP mailing class, the imap extension, or are they not covering the...

determine pop/imap server from email address

Is there a way to determine pop or imap server given the email address? I am building an application for non technical users and I dont really want to bother them with asking their imap/pop servers. mail2web.com does this, but I am not sure how. ...

How to retrieve unread mails using IMAP c client feeds

Hi Is there any way to retrieve only unread mails from specific person with email address [email protected] using IMAP C client Apis. I know it can be done by using mail_search (unseen flag), but I think it would be more expensive to query every time. Please suggest a better way to do this. If possible can you please post a sample pr...

GMail and POP3 RETR problem - switch to IMAP?

When I'm accessing GMail inbox using POP3 protocol, it seems that after fetching given email using RETR command, after QUIT-ting and reconnecting, previously RETR-ieved email is not listed anymore when calling LIST. Then, after going to: GMail settings//Forwarding and POP/IMAP and setting "Enable POP for all mail (even mail that's alrea...

Latest Imap server Library

Hi Does anyone knows good and latest imap server library in C#? Already I used lumisoft imap library. But, as the gmail has changed it's settings, I cannot use it anymore. Need latest imap server library... ...

imap_search limit the number of messages returned

Hi, I have PHP script that fetch messages from a mailbox. I use the imap_search function: $emails = imap_search($mbox, 'UNSEEN'); Is there a way to limit the number of returned messages. Right now on huge mailboxes i get like 5000 messages. I want only the top 20 ordered by date. Is there a way to do that? Thanks. ...

Localized Gmail IMAP Folders

I'm building a tool that analyzes Gmail specific folders (e.g. '[Gmail]/All Mail', '[Gmail]/Spam'). It seems that the names are localized with respect to the user localization settings, so '[Gmail]/All Mail' show as '[Gmail]/Todos' to Spanish users for example. Is there a non-localized canonical name for gmail folders? A way to detect...

zend framework : set imap mail to read, or move it to a folder

Hi overflowers, After reading a message's state in Zend_Mail_Storage_Imap with $message->getHeaders(). How do I then set that mail as read? setHeaders(Zend_Mail_Storage::FLAG_SEEN); Thanks, Dan ...

IMAP library - Proxy support

I am writing an application using IMAP support. But the IMAP library that I am using does not support Proxy. Can anyone point me to such an open source library which supports proxy? And what IMAP library Thunderbird is using? I am using "C/C++". ...