Hi, I've found on the site the code in php to authenticate the users for imap/pop. the php app server sees the user and password as HTTP_AUTH_USER HTTP_AUTH_PASS HTTP_AUTH_PROTOCOL Is it also possible to get the port that the user is connection to ie 110,143 or 993,995 with some HTTP_AUTH_ variable Thanks & Regards, Derwyn