Click here to Skip to main content
13,094,983 members (74,446 online)
Rate this:
Please Sign up or sign in to vote.
i am using visual C#.
i have some body structure of the form

BODYSTRUCTURE ((("TEXT" "PLAIN" ("CHARSET" "utf-8") NIL NIL "QUOTED-PRINTABLE" 717 9 NIL NIL NIL)(("TEXT" "HTML" ("CHARSET" "utf-8") NIL NIL "QUOTED-PRINTABLE" 3126 40 NIL NIL NIL)("IMAGE" "PNG" ("NAME" "image.png") "<>" NIL "BASE64" 494712 NIL NIL NIL) "RELATED" ("BOUNDARY" "-1280599187-776620704-1335962964=:671") NIL NIL) "ALTERNATIVE" ("BOUNDARY" "-1280599187-319159910-1335962964=:671") NIL NIL)("TEXT" "PLAIN" ("CHARSET" "US-ASCII" "NAME" "imap") NIL NIL "BASE64" 53416 684 NIL ("ATTACHMENT" ("FILENAME" "Imap.txt")) NIL)("IMAGE" "JPEG" ("NAME" "img72.jpg") NIL NIL "BASE64" 1462716 NIL ("ATTACHMENT" ("FILENAME" "img72.jpg")) NIL)("APPLICATION" "PDF" ("NAME" "April") NIL NIL "BASE64" 46294 NIL ("ATTACHMENT" ("FILENAME" "April 2012.pdf")) NIL)("AUDIO" "MPEG" ("NAME" "audio") NIL NIL "BASE64" 189560 NIL ("ATTACHMENT" ("FILENAME" "audio.mp3")) NIL) "MIXED" ("BOUNDARY" "-1280599187-1454468470-1335962964=:671") NIL NIL)

how can i know the various part numbers.
i want to fetch only some parts of the message.

plz don't give reference to any imap client library.

i just want to know the syntax used in imap to do this.

does the server always returns the information regarding boundary in the bodystructure fetch?

thanks in advance

plz help
Posted 16-May-12 23:01pm
Updated 5-Jun-12 5:34am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170813.1 | Last Updated 5 Jun 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100