I am looking for receive mail code in visual basic language.
Please reply me as soon as possible..........

Recommended Answers

All 6 Replies

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.

commented: Aye! +9

But can u tell me coding to receive mail from imap or pop that work on vb.net....

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.