Okay I can send email, now how do I retrieve it?
Posted: Fri Oct 04, 2002 2:06 pm
I'd like to code a webbased email program with which I can send and recieve email.
Sending seems to be the easy bit, thanks to the mail() function but how about retrieving the mail? If someone sends me an email and I have a pop3 account on a server (hosted, not mine) and I have the server address and the pop3 account and password - how do I get php to retrieve the email. Once I have the data I'd want to store it in a mySQL database, but that should be the easy bit?!?
I've searched the php manual but I honestly can't find a reference to 'get mail'. Can anyone point me in the right direction??
Sending seems to be the easy bit, thanks to the mail() function but how about retrieving the mail? If someone sends me an email and I have a pop3 account on a server (hosted, not mine) and I have the server address and the pop3 account and password - how do I get php to retrieve the email. Once I have the data I'd want to store it in a mySQL database, but that should be the easy bit?!?
I've searched the php manual but I honestly can't find a reference to 'get mail'. Can anyone point me in the right direction??