how to check for new emails
Hey! I want to make a program in VB.NET that will check for new emails every minute or so and reply to them. I have searched this forum and the web but all the things i get are how to send mail.
i want to be able to check for new emails and then send emails with a gmail acc. I know VB okay and can work with any code to adapt it to my needs but i still would like the code itsself. Thanks!
Re: how to check for new emails
What you want to look up is POP3. That is liklely what you would be using to check for mail. Either that or IMAP.
Something like this:
http://www.codeproject.com/KB/IP/QMailClient.aspx
Re: how to check for new emails
wow. Thanks for the link. It looks complicated but it will work. Does VB come with any POP3 class preinstalled that would be simpler?
Re: how to check for new emails
No, There is the built in SMTP classes in the framework, because sending mail from an application is much more common place that receiving mail in an application.
So it really is something that needs to be manually coded (or find existing code).