This is quite a complex topic. I suggest you try an MSDN search to pick up the details of the CDNOTS session object which is used for handling requests to view inbox and individual mails.<BR><BR>In a nutshell, a session object is created with Set objName = Createobject("CDONTS.Session"). The session object has a logonSMTP method to which you need to pass the users name and email. Once open, you can create an inbox object and cycle through it's objInbox.Messages collection. Each message in the collection has a .Sender .Subject and .Text (the main body) propery that you can access.
thanx..sowmiya!Defnitely this code works.But i am sorry to say that, the code what u have provided is for sending email.What i wanna is the code for retrieving mails from a remoteserver such as yahoomail,hotmail and so on.I should be able to get all my mails from (ex)yahoomail server within asp script.There are third party pop3 components(for which i have to spend few dollars!), which will help me out,but i want in pure asp.Hope u understood what i have explained.If possible plz,help me out.<BR>thanx....once again.reply awaited.<BR><BR>chanko