What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Emails, and Visual C++

Emails, and Visual C++
Author: Message:
haydenbech
New Member
*


Posts: 4
33 / Male / Flag
Joined: Jan 2008
O.P. Emails, and Visual C++
Hey,
I would like to make a script that sends the number of unread emails (possibly some more things later on), including a yahoo account added in the Plus! options menu, to a Visual C++ 2008 program and I have two problems:
*I don't know how to communicate with C++ (I found "talk to VB", but I don't think I would understand it even if I was using VB as people seemed to be having troubles using that solution)
*I can't find anything about the unread emails in the scripting documentation.

Thanks in advance!
01-04-2008 05:24 AM
Profile E-Mail PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Emails, and Visual C++
Maybe a stupid suggestion, but why not grabbing the unread email count directly from that Visual C++ program using POP3?

Using a script in Plus! via Messenger to get the unread email count seems a bit like taking a serious detour. Of course, I dunno what that C++ program is or does....

;)

This post was edited on 01-04-2008 at 11:33 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
01-04-2008 11:31 AM
Profile PM Find Quote Report
haydenbech
New Member
*


Posts: 4
33 / Male / Flag
Joined: Jan 2008
O.P. RE: Emails, and Visual C++
Well, I also want to do it for hotmail, which reserves pop3 access to those with a paid subscription, so I need another way of doing that. Thanks for the suggestion, I will try using pop3 for my yahoo account.

The program collects information I use a lot and gathers it in one place. I may still implement other messenger features in my program, so I still want to know how to connect Plus to Visual C++.
Thanks!
01-04-2008 11:46 AM
Profile E-Mail PM Web Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Emails, and Visual C++
hotmail's email count is kept in the registry when you sign in. Thats how it gets displayed on the XP Welcome Screen. Read that from there then POP3 the other accounts
<Eljay> "Problems encountered: shit blew up" :zippy:
01-04-2008 01:36 PM
Profile PM Find Quote Report
haydenbech
New Member
*


Posts: 4
33 / Male / Flag
Joined: Jan 2008
O.P. RE: Emails, and Visual C++
Whereabouts in the registry?
01-05-2008 12:51 AM
Profile E-Mail PM Web Find Quote Report
Voldemort
Veteran Member
*****

Avatar

Posts: 3504
Reputation: 49
– / – / Flag
Joined: Jul 2005
Status: Away
RE: Emails, and Visual C++
i *might* be newbing but if you search the registry with your amount of unread emails you *may* find it :p
*All posts are a purely speculative hypothesis based on abstract reasoning.
Not my daughter, you bitch!
[Image: ico-mollytrix16.gif]
01-05-2008 12:54 AM
Profile E-Mail PM Find Quote Report
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: Emails, and Visual C++
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\UnreadMail
01-05-2008 01:09 AM
Profile PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Emails, and Visual C++
Note that other programs might update the unread email count too. In other words, you never know what emails from what account have been added to the 'unread email count'.

In short: do not use this registry value to determine how many emails you have together with getting the unread email count of other accounts via your own methods.

eg: Plus! can update that 'unread email count' as well with POP3 unread email count. So if your C++ program checks those same POP3 accounts, the total amount of unread email would be wrong!
.-= A 'frrrrrrrituurrr' for Wacky =-.
01-05-2008 03:29 AM
Profile PM Find Quote Report
haydenbech
New Member
*


Posts: 4
33 / Male / Flag
Joined: Jan 2008
O.P. RE: Emails, and Visual C++
The UnreadMail Section is split up into accounts, so if I select the correct section I can should be able to get the correct information, correct? 
01-14-2008 10:48 AM
Profile E-Mail PM Web Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Emails, and Visual C++
quote:
Originally posted by haydenbech
The UnreadMail Section is split up into accounts, so if I select the correct section I can should be able to get the correct information, correct?

Unless somebody updates it, by adding another accounts unread mail to it (say a POP3 account)
<Eljay> "Problems encountered: shit blew up" :zippy:
01-14-2008 04:36 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On