RE: [PHP] POP3 attempts

From: Date: Sat, 28 Oct 2000 05:26:53 +0000
Subject: RE: [PHP] POP3 attempts
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-22418@lists.php.net to get a copy of this message
On 28-Oct-00 Matthew Walkup wrote: > Here are my attempts, > > <?php > > $server="mail.morningstarstudios.net"; > > $server_connection=fsockopen($server, 110, &$error_no, &$error_txt, 30); > echo("Connection Status: ".$error_txt." > (".$error_no.")<br>"); > > if ($error_no == 0) > { > $buffer = fgets($server_connection, 4096); > echo ("1: ".$buffer); > > $test1=fwrite($server_connection, "user test\r"); ^^^ -> \r\n" see rfc1225 Introduction. Regards, -- Don Read dread@texas.net There are old sailors, and there are foolish sailors; but damn few old foolish sailors. ---------------------------------------------

« previous php.general (#22418) next »