POP3 TOP command
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > POP3 TOP command




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    POP3 TOP command  
chsalvia@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-20-07 12:19 PM

The RFC which describes POP3 seems to be a bit uninformative when it
comes to the TOP command.  I realize the point of TOP is so that the
client only needs to download a few lines from the server, rather than
an entire email message.  But what constitutes a line?  The RFC seems
to imply that all email messages are neatly delineated by CRLF pairs.
But an email message can go on for paragraphs sometimes without a
CRLF.  So what is a "line" then?  Can TOP be implemented by simply
picking an arbitrary number of characters, and counting that as a
line?  Or do POP3 servers always parse email messages so that the body
of the message is divided up by CRLF pairs?






[ Post a follow-up to this message ]



    Re: POP3 TOP command  
Barry Margolin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-20-07 06:23 PM

In article <1179650011.594153.124490@n59g2000hsh.googlegroups.com>,
chsalvia@gmail.com wrote:

> The RFC which describes POP3 seems to be a bit uninformative when it
> comes to the TOP command.  I realize the point of TOP is so that the
> client only needs to download a few lines from the server, rather than
> an entire email message.  But what constitutes a line?  The RFC seems
> to imply that all email messages are neatly delineated by CRLF pairs.
> But an email message can go on for paragraphs sometimes without a
> CRLF.  So what is a "line" then?  Can TOP be implemented by simply
> picking an arbitrary number of characters, and counting that as a
> line?  Or do POP3 servers always parse email messages so that the body
> of the message is divided up by CRLF pairs?

Section 3 says:

Responses to certain commands are multi-line.  In these cases, which
are clearly indicated below, after sending the first line of the
response and a CRLF, any additional lines are sent, each terminated
by a CRLF pair.

That seems to be the only definition of "line" in the RFC.

BTW, why are you asking a network protocol question in a Unix newsgroup?
comp.protocols.tcp-ip would seem to be more appropriate.

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:14 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register