From: James Cloos <cloos@jhcloos.com>
To: Ted Zlatanov <tzz@lifelogs.com>
Cc: Uwe Brauer <oub@mat.ucm.es>,
ding@gnus.org, Simon Josefsson <simon@josefsson.org>
Subject: Re: how to sort (filter) msg which contain MS word documents
Date: Fri, 25 Apr 2008 17:01:16 -0400 [thread overview]
Message-ID: <m3hcdpir7w.fsf@lugabout.jhcloos.org> (raw)
In-Reply-To: <86ve253h6a.fsf@lifelogs.com> (Ted Zlatanov's message of "Fri, 25 Apr 2008 13:47:41 -0500")
>>>>> "Ted" == Ted Zlatanov <tzz@lifelogs.com> writes:
>>> I wonder if IMAP has a way to check quickly if an article has a
>>> particular attachment. That would be nice too, just ask the
>>> server.
The sexp imapd returns on the FETCH BODY which nnimap issues when
opening the *Summary* buffer contains all of the MIME data for each
FETCHed article.
FETCH BODYSTRUCTURE is similar and may provide more data.
I don't see any way of searching for all articles which match a given
mime type. You can SEARCH for any string, but there will, of course, be
false positives. So I suppose you'd have to SEARCH for the mime type as
a string and use FETCH BODY calls to rule out the false positives.
-JimC
--
James Cloos <cloos@jhcloos.com> OpenPGP: 1024D/ED7DAEA6
prev parent reply other threads:[~2008-04-25 21:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-14 9:51 Uwe Brauer
2008-04-14 20:34 ` Reiner Steib
2008-04-24 14:48 ` Uwe Brauer
2008-04-24 18:43 ` Reiner Steib
2008-04-25 10:40 ` Uwe Brauer
2008-04-25 16:17 ` Ted Zlatanov
2008-04-25 17:22 ` Uwe Brauer
2008-04-25 18:47 ` Ted Zlatanov
2008-04-25 21:01 ` James Cloos [this message]
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=m3hcdpir7w.fsf@lugabout.jhcloos.org \
--to=cloos@jhcloos.com \
--cc=ding@gnus.org \
--cc=oub@mat.ucm.es \
--cc=simon@josefsson.org \
--cc=tzz@lifelogs.com \
/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).