Hi,<BR>I need to be able to do a count of a users message folder in Exchange. Im pretty sure its possible using CDONTS however Im not having any joy. Can someone please throw some light on it. Basically Im looking to know am I going about it in the right way. The code below generates a count = 0. It doesnt seem to matter what name I put into the LOGONSMTP either.<BR><BR><BR>set OSession = server.CreateObject("CDONTS.Session")<BR>OSession. LogonSMTP "BloggsJ", "joe.bloggs@company.com"<BR>Set OInbox = oSession.Inbox<BR>Set OMessages = oInbox.Messages<BR>Response.write("COUNT = "& OMessages.Count)<BR>