On Wed, Nov 5, 2008 at 5:39 AM, Manoj M <[EMAIL PROTECTED]> wrote: > One more question. > > Anything similar to this php function imap_rfc822_parse_headers? > > Is there any documentation that I can refer for these type questions?
Have a look at docs/internal.txt . That will tell you about most of the available API. For the rest I can heartily recommend reading the code. It is pretty straightforward to understand. For your parse_headers equivalent, I would guess mail_fetchstructure() is what you want in terms of actual interesting header and envelope fields. Beyond that you can get the from and the subject separately (mail_fetchfrom() and mail_fetchsubject()); and to get the header as plain text there is mail_fetchheader(). But have a look at the code, since there are a lot more functions available than are documented. Good entry points are probably c-client/mail.h and rfc822.h, combined with glances at internal.txt (don't get too worried by the slight discrepanicies between doc and code, the code is right ;-). Robby _______________________________________________ Imap-uw mailing list [email protected] http://mailman2.u.washington.edu/mailman/listinfo/imap-uw
