[dev] [imp] Searching an IMAP mail store with Imp [SOLVED]
Michael M Slusarz
slusarz at mail.curecanti.org
Thu Nov 3 10:23:32 PST 2005
Quoting "Kevin M. Myer" <kevin_myer at iu13.org>:
> Quoting Michael M Slusarz <slusarz at mail.curecanti.org>:
>
>> Quoting Jan Schneider <jan at horde.org>:
>>
>>> This seems to become a common issue, see also
>>> http://bugs.horde.org/ticket/?id=2828
>>>
>>> Maybe we should make this configurable?
>>
>> Is there a way to determine this via the 'capability' command?
>>
>
> I don't think so. I think the only way to catch it would be to do a
> search - if the result is NO, it could mean that charset isn't
> supported. But a NO also could mean that search criteria isn't
> supported as well.. If you can think of a simple search with valid
> criteria, then the results of that search could be used to determine if
> a given charset is supported or not, otherwise, the results would be
> ambigious. Kevin
Try what I just committed (you will need an up-to-date version of both
IMP and HEAD). Turns out that the search command MUST output (among
other items) the phrase 'BADCHARSET' if a search is performed with a
charset that it does not support.
michael
_______________________________________
Michael Slusarz [slusarz at curecanti.org]
More information about the dev
mailing list