Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@pdc.kth.se>
Cc: Gnus Mailing List <ding@gnus.org>
Subject: Re: more IMAP
Date: 03 Feb 2000 16:22:24 +0100	[thread overview]
Message-ID: <iluzotiqpjj.fsf@badis.pdc.kth.se> (raw)
In-Reply-To: "Yair Friedman's message of "03 Feb 2000 15:00:11 +0200"

"Yair Friedman (Jerusalem)" <YAIRFR@Amdocs.com> 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))
)



  reply	other threads:[~2000-02-03 15:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-01  0:22 Harry Putnam
2000-02-01  0:30 ` John Prevost
2000-02-01  1:13   ` Harry Putnam
2000-02-01  4:06     ` David Maslen
     [not found]       ` <kpbt60rg4f.fsf@utip202.cs.utwente.nl>
2000-02-03 12:40         ` Simon Josefsson
2000-02-03 13:00           ` Yair Friedman (Jerusalem)
2000-02-03 15:22             ` Simon Josefsson [this message]
2000-02-03 15:10           ` Jaap-Henk Hoepman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=iluzotiqpjj.fsf@badis.pdc.kth.se \
    --to=jas@pdc.kth.se \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).