I am looking for receive mail code in visual basic language.
Please reply me as soon as possible..........
You can send an email using classes of System.Net.Mail namespace.
And likewise, you can also recieve mail through the same classes.
Take a look at the SmtpClient class.
But can u tell me coding to receive mail from imap or pop that work on vb.net....
I'm sorry. I was wrong regarding fetching mail through System.Net.Mail namespace.
However, it is possible using the sockets classes in System.Net.Sockets.
Take a look at this.
I allready show this code.but it contain lot's of error.
Can you tell me proper working code of vb or c# to fetch mails from mail server.