Web lists-archives.com

Re: Help Reading from a POP3 Mail Server





Tim Streater wrote:
You need to rtrim() each input line, and stop when you find a line consisting of just a full-stop (.)

I think that RFC 1939 (Post Office Protocol - Version 3) and RFC 5322 (Internet Message Format) are the relevant standards.

RFC 5322 does show examples of commands being sent to the server and the responses sent from the server to the client and I do see lines with just a period but I don't see documentation of what lines like that mean.