SMTP vs POP3

From: Date: Fri, 05 Dec 2003 02:30:10 +0000
Subject: SMTP vs POP3
Groups: php.general 
Request: Send a blank email to php-general+get-171936@lists.php.net to get a copy of this message
I have this code to send email via STMP server $msg = "this is a test - ojpp - mail function"; $senderFrom = "ojpp@ojpp.myftp.org"; $receiverTo = "ojpp@serbis.com"; $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.

« previous php.general (#171936) next »