Click here to Skip to main content
Rate this: bad
good
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") "<1.3499534900@web193301.mail.sg3.yahoo.com>" 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 17-May-12 0:01am
Edited 5-Jun-12 6:34am
v3

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

  Print Answers RSS
0 OriginalGriff 8,149
1 Sergey Alexandrovich Kryukov 7,287
2 DamithSL 5,614
3 Manas Bhardwaj 4,986
4 Maciej Los 4,910


Advertise | Privacy | Mobile
Web04 | 2.8.1411023.1 | Last Updated 5 Jun 2012
Copyright © CodeProject, 1999-2014
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