I have this code to send email via STMP server

$msg = "this is a test - ojpp - mail function";
$senderFrom = "[EMAIL PROTECTED]";
$receiverTo = "[EMAIL PROTECTED]";
$subject = "test of the mail function";
$mailHeaders = "From: $senderFrom\n";
$mailHeaders .= "Reply-to: $senderFrom\n";
$mailHeaders .= "Message-Id: 16295644\n";
mail($receiverTo, $subject, $msg, $mailHeaders);

What is the function to receive email via POP server?, anyone could give me a simple 
example, thanks for any help, bye.

Is it possible to retrieve via POP server, only part of the email information?, thanks 
for any help, bye.

Reply via email to