Re: Finding subject in POP3 connection

From: Date: Wed, 30 Aug 2000 00:45:02 +0000
Subject: Re: Finding subject in POP3 connection
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-14298@lists.php.net to get a copy of this message
Hello WL, On 26-Aug-00 14:12:18, you wrote: >Once I've connected to a POP3 server in PHP, how do I obtain the Subject of >any messages waiting? At the moment I've connected, and have one message >waiting - but how do I get the Subject? There is a command named TOP that you may use to fetch only the headers of a messages. Then you just need to find the Subject header in the response. You may want to try this PHP POP3 class that has a function named RetrieveMessage. If you pass a negative number as the number of message lines, it will only return the header lines in a array. http://phpclasses.UpperDesign.com/browse.html/package/2 Regards, Manuel Lemos Web Programming Components using PHP Classes. Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org -- E-mail: mlemos@acm.org URL: http://www.mlemos.e-na.net/ PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp --

« previous php.general (#14298) next »