POP3 :: mixed pretr ( resource connection, integer message )

Returns STRING if has been successfully recived, FALSE if not. Get data of specify message number. Example:

$open = POP3::Connect('mail.host.net', 'username', 'password');

// get data of 1'st message
$data = POP3::pRetr($open, 1);

echo $data ? $data : 'Error';

[ Comments ] Last update: Friday, June 16, 2006