Click here to Skip to main content
11,802,442 members (72,638 online)
Click here to Skip to main content

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

, 11 Jul 2004 73.9K 1.3K 32
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

GeneralNo Source for this proj Pin
jeremiebeltran4-Aug-09 19:56
memberjeremiebeltran4-Aug-09 19:56 
GeneralMy vote of 1 Pin
Balkrishna Talele31-Mar-09 21:15
memberBalkrishna Talele31-Mar-09 21:15 
GeneralMy vote of 1 Pin
The JZ2-Dec-08 4:12
memberThe JZ2-Dec-08 4:12 
QuestionHow to access Gmail inbox Pin
nicoliky13-Mar-07 2:37
membernicoliky13-Mar-07 2:37 
GeneralHe want spy our gmail password,dong't use this spam!!! Pin
Steven Dong21-Jun-06 16:58
memberSteven Dong21-Jun-06 16:58 
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 
Generaldoes not work behind a proxy... Pin
anonymous19-Sep-05 19:38
sussanonymous19-Sep-05 19:38 
GeneralRe: does not work behind a proxy... Pin
Catalin Stavaru19-Sep-05 22:28
memberCatalin Stavaru19-Sep-05 22:28 
Questionwhy publish this program ? Pin
edg_HH5-Jun-05 3:44
memberedg_HH5-Jun-05 3:44 
AnswerRe: why publish this program ? Pin
Catalin Stavaru5-Jun-05 7:40
memberCatalin Stavaru5-Jun-05 7:40 
GeneralRe: why publish this program ? Pin
Diógenes12-Aug-05 1:31
sussDiógenes12-Aug-05 1:31 
GeneralRe: why publish this program ? Pin
Catalin Stavaru12-Aug-05 2:02
memberCatalin Stavaru12-Aug-05 2:02 
GeneralNo Source & Internet Connection Error Pin
crouchie199818-Apr-05 14:57
membercrouchie199818-Apr-05 14:57 
GeneralRe: No Source & Internet Connection Error Pin
Catalin Stavaru18-Apr-05 20:44
memberCatalin Stavaru18-Apr-05 20:44 
Generalsource code Pin
xdx0075-Nov-04 6:20
memberxdx0075-Nov-04 6:20 
GeneralAHH! it opens up IE instead of Firefox Pin
gizsre13-Oct-04 7:38
sussgizsre13-Oct-04 7:38 
GeneralRe: AHH! it opens up IE instead of Firefox Pin
Catalin Stavaru13-Oct-04 8:02
memberCatalin Stavaru13-Oct-04 8:02 
Generalinternet error / login error Pin
SGarratt19-Aug-04 7:04
memberSGarratt19-Aug-04 7:04 
GeneralRe: internet error / login error Pin
Catalin Stavaru19-Aug-04 10:08
memberCatalin Stavaru19-Aug-04 10:08 
GeneralRe: internet error / login error Pin
__me1-Mar-05 22:13
suss__me1-Mar-05 22:13 
Generaldumb Pin
Labrat0021-Aug-04 17:09
sussLabrat0021-Aug-04 17:09 
GeneralRe: dumb Pin
Catalin Stavaru2-Aug-04 1:13
memberCatalin Stavaru2-Aug-04 1:13 
Generalone question! Pin
Mr.Prakash23-Jul-04 18:09
sussMr.Prakash23-Jul-04 18:09 
GeneralRe: one question! Pin
Catalin Stavaru23-Jul-04 22:53
memberCatalin Stavaru23-Jul-04 22:53 

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

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

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