Re: POP3 attempts

From: Date: Sun, 29 Oct 2000 21:43:32 +0000
Subject: Re: POP3 attempts
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-22572@lists.php.net to get a copy of this message
The imap functions can handle pop too, why not use them? --Nikals ----- Original Message ----- From: "Don Read" <dread@texas.net> To: "Matthew Walkup" <webmaster@morningstarstudios.net> Cc: <php-general@lists.php.net> Sent: Saturday, October 28, 2000 6:26 AM Subject: RE: [PHP] POP3 attempts > > 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. > --------------------------------------------- > > -- > 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 >

« previous php.general (#22572) next »