Hello,

On 12/05/2003 12:26 AM, [EMAIL PROTECTED] wrote:
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.

Sure, try this class:


http://www.phpclasses.org/pop3class


--


Regards,
Manuel Lemos

Free ready to use OOP components written in PHP
http://www.phpclasses.org/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to