Checking gmail for new, and unread mail

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tyler Wiebe
    New Member
    • Mar 2011
    • 66

    Checking gmail for new, and unread mail

    Hi, I'd like to make a system tray icon that will give me a pop up notification when I receive a new email, and how many unread emails I have in my gmail account. I don't know if it's possible, but I'd much appreciate any information on the subject.
  • Paul Johnson
    New Member
    • Oct 2010
    • 97

    #2
    Have a look at

    c#,c sharp, visual basic, visualbasic, .net, programming, source code, tutorials, gmail, System.Net, pop, smtp


    for the connection routine. As for the system tray, not too sure on that as I've never implemented one, but I'd guess that you'd need to poll Google every (say) ten minutes and then fire a modal window from the system tray to say you've got mail. Do it on a thread of it's own with a sleep set on it.

    HTH

    Comment

    • Tyler Wiebe
      New Member
      • Mar 2011
      • 66

      #3
      Thanks for the link, it works sort of. It seems it displays all of my mail, and not just the unread ones, or new ones.

      For now though, I'll see what I can do, but any other info would be great.

      Comment

      • Paul Johnson
        New Member
        • Oct 2010
        • 97

        #4
        It does what it says on the tin!

        The problem with gmail is that it uses a RESTful system. There is quite a good google library available on sourceforge (IIRC)

        .code { font-family: monospace; } .code .comment { color: green;} .ss { padding: 5px; border: 1px solid #ccc; margin-bottom: 10px; } Final update: The Gmail infrastucture has evolved quite a bit over the last decade so this information and accompanying software are largely obsolete. Leaving this here for posterity's sake. Update 5/18/2005: The long awaited SourceForge project for this API has been created. Eric Larson has been gracious enough to help out with the project.

        Comment

        Working...