473,503 Members | 10,322 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Checking gmail for new, and unread mail

Tyler Wiebe
66 New Member
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.
Aug 10 '11 #1
3 3277
Paul Johnson
97 New Member
Have a look at

http://www.all-the-johnsons.co.uk/csharp/email.html

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
Aug 10 '11 #2
Tyler Wiebe
66 New Member
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.
Aug 10 '11 #3
Paul Johnson
97 New Member
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)

http://johnvey.com/features/gmailapi/
Aug 10 '11 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
2269
by: Osiris Sawiris | last post by:
I inherited an Inventory control application that updates the stock from the branches at the end of each day. We receive the stock transactions via e-mail attachments (Excel Sheets). Those...
2
207
by: Matt Porter | last post by:
I'm writing a c# web app and I can't find a POP3 mail component. I found the SMTP component, but not a POP3 one. Seems like there should be one. What is the name of the POP3 component? or do I...
0
944
by: blini | last post by:
//create the mail message MailMessage mail = new MailMessage(); //set the addresses mail.From = new MailAddress("felipe.blini@gmail.com"); mail.To.Add("felipe.blini@gmail.com"); //set the...
1
2200
by: Kondapanaidu | last post by:
Hi, I am using C#.NET2.0, My Outlook Inbox is having some mails. My system Configured with Outlook, I need to capture the Unread mail subject line. How to capture the subject line from...
4
3639
by: MMAS | last post by:
I've got my .net application set up to use gmail as a mail server (see code below). Everything works quite well, actually, EXCEPT for one particular email account. I've created an "admin" account...
0
1127
by: Sheena777 | last post by:
How can Check all the new unread mail's subject with vb.net?I want to be able to check the mail's subject and then perform a specific action to that mail.How Can I do this using Vb.net and Outlook...
14
1775
by: Jeff | last post by:
I'm writing my php "form mail" script. Does mail do any checking for header injection in the "to" and "subject" parameters? CR and/or LF? It seems to me it easily could and should, but does it?...
3
7921
by: TobyMcGuire | last post by:
Using the code below I get an exception: "Failure sending mail" Inner exception: "No connection could be made because the target machine actively refused it 74.125.77.109:587" I'm currently on...
3
1784
by: AbusiveMeercat | last post by:
Ugh this is so frustrating. This code doesn't work for some reason...Can anybody help me fix it? class MainClass { public static void Main (string args) { MainClass mailman = new...
0
7095
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7361
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7470
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5602
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5026
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4693
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3183
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1523
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
403
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.