Email Retrieval: Status and speed issues
Posted on 2002-06-10
I have two questions:
1) I am currently using PHP's build in "imap" email functions. Im specificaly trying to retrieve POP3 email.
The question here is, what is the fastest way, using PHP, to get POP3 Email. Is it using the "imap" functions, or would opening a telnet be faster? And is there anything faster than that?
2) As stated above, im using the "imap" function family to retrieve my POP3 Email, but for some reason the imap_header function returns an object which when digging through returns some elements which i can only guess are status. but they never change, they are always the same. And the 'Recent' field is always set to 'N'
Here is what I mean:
The above is typical no matter how recent, unviewed, etc.. the email seems to be. Is there something I'm doing wrong? Is checking the email headers marking the email as read? Or am I just totaly misinterpeting what I'm seeing. Could it be my imap_open?