Results 1 to 4 of 4

Thread: how to check for new emails

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2009
    Posts
    53

    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!

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    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

  3. #3

    Thread Starter
    Member
    Join Date
    Jun 2009
    Posts
    53

    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?

  4. #4
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    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).

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width