Re: POP commands
| From: | Daniel Roperto - Ação Direta | Date: | Thu, 22 Nov 2001 15:44:35 +0000 |
| Subject: | Re: POP commands | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-75516@lists.php.net to get a copy of this message | ||
Why don't u use a socket view ? u config ur outlook to connect 127.0.0.1
(localhost) and watch the communication .. if someone wants it send mail to
daniel@geral.net then i cansend one that i designed on delphi 5 (it's ugly
and has FEW options and not tested with binary comm., but works with text)
well, try this:
start -> execute -> telnet yourpophost.com 110
« +OK connected
» USER yourusername
« +OK accepted, send password
» PASS thecode
« +OK xxx messages
» LIST
« +OK
« 1 1233
« 2 5940
« 3 5421
« .
where the 1st is the message number, the secont the bytes (size) of the
message. The 'DOT ' means END OF LIST
» RETR 1
« +OK
« [... the message ...]
« .
the dot means end of message
» QUIT
« +OK goodbye
Hope u understood my english and the basic commands!
Daniel Roperto
----- Original Message -----
From: "Yura" <bodybuilders@comic.com>
To: <php-general@lists.php.net>
Sent: Thursday, November 22, 2001 1:30 PM
Subject: [PHP] POP commands
> Hi,
>
> does anybogy know pop3 box management commands? I'm making pop client on
php. I know
> some of the commands like USER PASS RETR DELE TOP but don't know how to
use them.
>
> I have fputs( $socket_open, "USER " . $username . "\r\n" ); but how do I
use RETR or TOP or
> DELE in these circumstanses?
>
> Youri
> <>< <>< <>< <>< God is our provider ><>
> ><> ><> ><>
> http://www.body-builders.org
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net