I'm stuck!
I need a script which can take an email address and find the pop server and appropriate port for it.
So far I've tried splitting the email to get the domain then using getmxrr(), but fsockopen() rarely works with the addresses this returns.
any ideas?