[Imap-uw] using c-client to get the IMAP banner and raw CAPABILITY response

Mark Crispin mrc at CAC.Washington.EDU
Fri Sep 7 09:38:09 PDT 2007


On Fri, 7 Sep 2007, Andrew Biggs wrote:
> I've been playing around a little with some "creative" ways of using c-client 
> to obtain the IMAP server's banner and raw text response to the CAPABILITY 
> command, but I was hoping there might be a cleaner way than using either 
> mm_dlog() or spelunking private parts of the mailstream.  Any ideas on how I 
> could get this information from the main c-client API?

mm_dlog() would be the way to do this; but it begs the question as to why 
you are doing this.  There is probably a better way to accomplish what you 
want.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.


More information about the Imap-uw mailing list