[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] 'POP3.pm' Functions: 'uidl()' and 'last()' Problems.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At 06:23 -0700 on 11/11/99, sleidy@voicenet.com wrote:
> Question 02:
>
> Why do these two [2] Lines:
>
>   $lastMessage = $pop->last();  # Last e-Mail Message.
>   print "\n" . "Last e-Mail Message Number: " . $lastMessage . "\n\n";
> 	# Print out the last e-Mail Messages' Number.
>
> not print out the correct (or expected) '$lastMessage' Value?


Perhaps you're connecting to a POP3 server instead of a POP2 server.  'LAST'
is a POP2 command that is not present in POP3.

(Yes, some POP3 servers purport to support LAST, but they are stupid. :-)


Richard

-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.1
Comment: www.europarl.eu.int/dg4/stoa/en/publi/166499/execsum.htm

iQA/AwUBOCrzb2KSuJuuNAZUEQIF5wCg9NEmSKOAbXTDGywN9XA3XYsjhAMAnilS
xR3PW4J6qAdZ+sTbMd3hzZVA
=MkkM
-----END PGP SIGNATURE-----



# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org