You will need to do a bit of studying on sockets and the smtp protocol.
Basically you specify the host name, (username and password if using authentication) then connect a socket to port 110 to retrieve data.
Download the free webmail applications horde, squirrelmail and webmail to see how they interact with the mailserver.
Hope that helps you get started.
__________________
"I have not failed. I have found 10,000 ways that don't work" - Thomas Edison.
"The secret to creativity is knowing how to hide your sources" - Albert Einstein.
|