> I tested this with mtest program shipped with c-client lib. This also
> reports truncated body buffer if using mail_fetchtext(I am not
> remembering the Command) while mail_fetch_message returned full mail
> (including header)

This does not make sense.  mail_fetch_message calls themail_fetchtext code 
internally.  You are confused.
At least part of your confusion is probably due to Gmail.The Gmail IMAP server 
is DEFECTIVE.  It has BUGS, includingRETURNING WRONG SIZES.
You are probably seeing a combination of Gmail's bugs andbugs in your 
application.
I can guarantee you that c-client accurately returns whateverthe server gave 
it.  These functions have been extensivelytested and used for over 20 years.  
Yes, even with MESSAGE/RFC822.
Your first step is to use a known WORKING IMAP server as thebasis to test 
against.  UW, Panda, Cyrus, Dovecot are all goodservers to use for testing.  
Gmail and Exchange are not.

_________________________________________________________________
Color coding for safety: Windows Live Hotmail alerts you to suspicious email.
http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_safety_112008_______________________________________________
Imap-uw mailing list
[email protected]
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to