From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/29074 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: more IMAP Date: 03 Feb 2000 16:22:24 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: <87emaxtvm1.fsf@iname.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035165807 670 80.91.224.250 (21 Oct 2002 02:03:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:03:27 +0000 (UTC) Cc: Gnus Mailing List Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by mailhost.sclp.com (Postfix) with ESMTP id 289D2D051F for ; Thu, 3 Feb 2000 10:26:46 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id JAB24319; Thu, 3 Feb 2000 09:23:05 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 03 Feb 2000 09:22:57 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id JAA29607 for ; Thu, 3 Feb 2000 09:22:46 -0600 (CST) Original-Received: from badis.pdc.kth.se (badis.pdc.kth.se [130.237.221.45]) by mailhost.sclp.com (Postfix) with ESMTP id 1B8ABD0521 for ; Thu, 3 Feb 2000 10:22:39 -0500 (EST) Original-Received: (from jas@localhost) by badis.pdc.kth.se (8.9.3/8.9.3) id QAA02900; Thu, 3 Feb 2000 16:22:25 +0100 X-Authentication-Warning: badis.pdc.kth.se: jas set sender to jas@pdc.kth.se using -f Original-To: "Yair Friedman (Jerusalem)" In-Reply-To: "Yair Friedman's message of "03 Feb 2000 15:00:11 +0200" Original-Lines: 23 User-Agent: Gnus/5.0804 (Gnus v5.8.4) Emacs/20.5 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:29074 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:29074 "Yair Friedman (Jerusalem)" writes: > Waiting for response from jermail1.amdocs.com...done > error in process filter: Internal error, tag 4 status BAD code nil text SELECT command received in invalid state. [2 times] > > Any other pointers? The imap.el API is described in more detail in the imap.el file. The luxuary of kerberos made me skip over authentication in my example (it's handled by `imap-open'). Try the version below instead. More info in imap.el and RFC2060. > (with-current-buffer (imap-open "jermail1.amdocs.com") (when (imap-authenticate) > (when (imap-mailbox-select "Calendar") > (dolist (uid (imap-search "UNDELETED")) > (imap-fetch uid 'FULL) > (message "Internal date: %s" (imap-message-get uid 'INTERNALDATE)) > (message "Envelope: %s" (imap-message-get uid 'ENVELOPE)) > (message "Body: %s" (imap-message-get uid 'BODY)))) > (imap-close)) )