I'm using PHP's built in IMAP functions to build a bare-bones webmail client (will be primarily used for accessing gmail accounts). I've currently hit a road block in the mailbox list views, where I am displaying a paginated list of messages in that mailbox sorted by date (ascending or descending).
My initial implementation retrieved A...
I am developing a simple webmail client for IMAP-based email services using PHP's IMAP library, and I was wondering if there was any way to specify the SMTP server to use when sending an outgoing message, so that the message will be placed in the user's Sent mailbox when they are logged into their IMAP account. I saw that their is an ima...
I am using the imap library to access my unread messages on gmail and to print out the subjects, is there a way to make sure that the messages being read are still tagged as unread.
Thanks
...
I am having huge headaches trying to connect to an Exchange 2007 server (which supports IMAP) using the imap_open PHP function. The server uses STARTTLS encryption.
This is what my credentials look like:
1) The email account is [email protected]
2) The DOMAIN/USERNAME/ALIAS information are FOO/RRR/ga.bar
3) The password is boo
4) The serve...
Hello, I've been coding a simple PHP mail application (just displays my new emails from a bunch of accounts) on my local web server, and I've been getting delays of about 10 seconds every time I try to fetch the messages (about 10) via imap_open, etc.
Is is possible to make a progress bar that (crudely, if at all) displays some progress...
What is the best way to receive email via IMAP protocol in Rails 3?
...
Hi!
My Ruby script:
imap = Net::IMAP.new('imap.gmail.com')
imap.login("[email protected]", password)
I get exception
A connection attempt failed because
the connected party did not properly
respon after a period of time, or
established connection failed because
connected hos has failed to respond. -
connect(2)
What's wrong?
...
I've been trying to access my GMail account to retrieve the unread emails from my email account. However, I only con perform login... Anything after that doesn't work.
First of all I connect to the server, then send the login command and finally the examine command. The thing is that the responses that are receive refers only to the con...
Using standard spec IMAP commands, how can I determine the previous and next UIDs in a mailbox based on a passed UID, sorting the mailbox messages by date, newest first?
...
I am developing Email client Application in Python.
How to Get Mail Body which has .eml attachment using Imap ?
...
I'm looking at using javamail to download email/gmail using imap in a swing application.
According to the FAQ on javamail http://www.oracle.com/technetwork/java/faq-135477.html#localprovs I'm going to need a "local store provider", does anyone have any recommendations or advice on ones to avoid / choose?
I had presumed that I would j...
Is there a way to tell the IMAP server that it only has to find the first 20 responses that fit a given search criteria. So, for example, I am sending to the server the command (SEARCH SINCE 1-Feb-2010) and it will wait to return all messages since 1-Feb-2010. Is there a way to tell the server that it only has to return the first 20?
...
I want to build a fuse-filesystem with IMAP4 in python. As filename I would like to use the subject of each mail. So I can rename the filenames and with this the Subjects.
But subjects can be used several times in one directory, so this breaks the common filesystem rules.
I wouldn't like to use a difficult directory-system (like here) no...
I'm using Zend framework provided IMAP classes to access gmail messages over imap. I access the message headers of all the messages in the inbox one by one and index them locally. The script works fine for inboxes with messages less than 10000. For larger inboxes the script looses the connection, probably a timeout.
Here is the stack tr...
Hi,
I just got control over a linux server.
The previous admin installed DirectAdmin.
However, mail isn't functioning right.
DirectAdmin says it has made some accounts, but the IMAP server doesn't respond to those logins when I try to login with SquirrelMail or Roundcube.
I then uninstalled all mail packages and installed postfix and c...
My php application logs into to Gmail via oauth provided access keys and fetch headers for all messages in inbox. The php-imap extension allows only for login/password based authentication. I want to modify the extension so that it support oauth based authentication too. I need to figure out how to make that change inside the extension c...
I am looking for simple way to split parenthesized lists that come out of IMAP responses into Python lists or tuples. I want to go from
'(BODYSTRUCTURE ("text" "plain" ("charset" "ISO-8859-1") NIL NIL "quoted-printable" 1207 50 NIL NIL NIL NIL))'
to
(BODYSTRUCTURE, ("text", "plain", ("charset", "ISO-8859-1"), None, None, "quoted-prin...
I have got mail message with following subject in my Gmail accout:
"400, значение, значение"
Here is the code I use to grab mail:
imap = Net::IMAP.new('imap.gmail.com', 993, true, nil, false)
imap.login(LOGIN, PASSWORD)
imap.select("INBOX")
messages = imap.search(['ALL']).map do |message_id|
msg =imap.fetch(message_id, "ENVELOPE")[...
Wondering if there's a way I can avoid fetching the attachments as well.
...
I'm using javamail for imap search by subject on Gmail. I use the subjectTerm class to create a searchTerm object and pass to the search function. Search works fine for subject strings which are pure alphanumeric. As soon as I put in a single quote or a dash in the search string the search fails.
IMAPSSLStore imapSslStore = connectToIm...