Amos wrote: > hi > i set top command to get 8 lines > apparently it starts counting the lines, from the boundary > so the headers like > Content-Type: text/plain; charset="iso-8859-1" > Content-Transfer-Encoding: 8bit > > are fetched as well in those 8 lines
Those multipart headers are actually (from the POP3-server's viewpoint) just part of the message body since they come after the initial message headers. > is there a way that if the user asked for 8 lines, that i will fetch > 8 lines (of the content itself) No. POP3 doesn't have anything like that; it's not designed for anything other than simple mail. If you want something like that, you need to use something a bit more advanced like IMAP4. > according to what i saw, the number of headers lines is not fixed The number of header lines depends on what the server considers "a line of the message". > (sometimes 2, in another case it was 4) so is there a way? Still, no. Please read RFC-1939 for further information. -- Markku Uttula ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
