> if I am using mail_fetchbody(vImapStream, 1, "", &len)
That call is equivalent to mail_fetch_message (vImapStream, 1, &len, NIL)
That is, it fetches the entire message as your example shows.
> and if I am using mail_fetchtext(vImapStream, 1)
You show this function as fetching the entire message. I don't believe that.
No IMAP server can be that broken. This is probably a bug in your program.
Are you aware that the same buffer can be used multiple times? After you
call a mail_fetch....() function, the returned buffer is only good until the
next time you call a mail_fetch......() function.
_________________________________________________________________
You live life beyond your PC. So now Windows goes beyond your PC.
http://clk.atdmt.com/MRT/go/115298556/direct/01/
_______________________________________________
Imap-uw mailing list
[email protected]
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw