php3-list | 199807
Date: 07/13/98
- Next message: Rasmus Lerdorf: "Re: [PHP3] Last_Modified directive in php3"
- Previous message: Stephen Edberg: "Re: [PHP3] User's Email"
- In reply to: Adam Roderick: "[PHP3] getting info from a socket connection"
- Next in thread: php <email protected>: "[PHP3] getting info from a socket connection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Adam,
When you are talking to the POP server you can't just listen which is what
the demo script does.
You have to talk to the POP server.
1. Give it a command.
2. Recieve Reply while also listening for the POP servers end of
transmission signal.
3. Go to 1.
POP's endof transmission is not EOF, some commands only return 1 line,
other return multiple lines with a '.' on a line by itself to signal then
end. The only time you will get an EOF is when you send the POP server the
QUIT signal.
Take a look at the RFC Protocols for POP and from that you will be able to
work out what you need.
I don't have the URL as the site I used to go to is gone.
The best way to learn is to connect to a POP server via telnet and port
110. Take a look at the syntax of the replies and queries.
Good Luck
*************************************************************************
Cameron Just (ccjust <email protected>)
Web Development
Prentice Centre.
*************************************************************************
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.tryc.on.ca/php3.html
- Next message: Rasmus Lerdorf: "Re: [PHP3] Last_Modified directive in php3"
- Previous message: Stephen Edberg: "Re: [PHP3] User's Email"
- In reply to: Adam Roderick: "[PHP3] getting info from a socket connection"
- Next in thread: php <email protected>: "[PHP3] getting info from a socket connection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

