Click here to Skip to main content
13,588,616 members
Click here to Skip to main content
Add your own
alternative version


32 bookmarked
Posted 11 Jul 2004

E-Mail Notifier - notifies users when new mail is received on multiple GMail (and other) accounts

, 11 Jul 2004
Rate this:
Please Sign up or sign in to vote.
This light, yet very usable, application notifies users when new mail is received on multiple GMail (and other) accounts. Written in C++/MFC. No .NET framework, no browser instances launched, low system resource requirements!

Sample Image - mailnotifier.jpg


Since the GMail hype appeared, I saw many programs that offered to notify me when I had GMail, but none of them was what I wanted. They were either written using .NET framework, thus taking up more system resources than I would like for a simple notification program, or they launched instances of Internet Explorer in an attempt to automate the process. None of these solutions appealed to me, so I wrote my own application. It is written in Visual Studio .NET 2003, using MFC.

How does it work ?

The application uses WinInet to connect to Internet and send HTTP requests. It works through proxies too, since WinInet uses Internet Explorer settings. The application simulates the GMail user logon process to get to the inbox page, which is parsed. The program settings are stored in registry under HKCU\Software\Catalin\MailNotifier key. Passwords are securely stored using CryptoAPI.

Using Mail Notifier

You can add, remove, or edit e-mail accounts for notification. When new mail is received, a balloon-style tooltip appears near the taskbar icon, and the icon changes accordingly. If an account contains the same number of new e-mails between checks, the balloon tooltips appear only twice. After this, only the taskbar icon is changed, so that the user does not become annoyed. When errors are encountered during the mail check, the taskbar icon changes to reflect the error state. Opening the user interface (via the context menu) shows up more details about the state of each account. Double-clicking on an e-mail account starts the default web browser with the GMail page as default.

System Requirements

The application has been tested on Windows XP and Windows Server 2003. There is a great chance that it will work under Windows 2000. Since the application is Unicode-compiled, it will work under Windows 9x only if the Microsoft Layer for Unicode is present.

I hope the application will be very useful to some users, now that web-based e-mail services are giving so much e-mail storage for free. A tool like this can make a web-based e-mail service really usable.

Future enhancements

  • POP3, IMAP, Yahoo! and Hotmail support - really soon (only supports Gmail for now).
  • E-mail subject and sender to be displayed when e-mail is received.
  • Enhanced GUI.

To get the latest version of the tool, please visit here.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Catalin Stavaru
Web Developer
Romania Romania
No Biography provided

You may also be interested in...

Comments and Discussions

QuestionQQQQuestion :) Pin
Anonymous11-Oct-05 15:13
sussAnonymous11-Oct-05 15:13 
AnswerRe: QQQQuestion :) Pin
MovieNinja11-Oct-05 15:17
memberMovieNinja11-Oct-05 15:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Cookies | Terms of Use | Mobile
Web01 | 2.8.180615.1 | Last Updated 12 Jul 2004
Article Copyright 2004 by Catalin Stavaru
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid