Shoutbox

Emails, and Visual C++ - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Emails, and Visual C++ (/showthread.php?tid=80674)

Emails, and Visual C++ by haydenbech on 01-04-2008 at 05:24 AM

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!


RE: Emails, and Visual C++ by CookieRevised on 01-04-2008 at 11:31 AM

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....

;)


RE: Emails, and Visual C++ by haydenbech on 01-04-2008 at 11:46 AM

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!


RE: Emails, and Visual C++ by Spunky on 01-04-2008 at 01:36 PM

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


RE: Emails, and Visual C++ by haydenbech on 01-05-2008 at 12:51 AM

Whereabouts in the registry?


RE: Emails, and Visual C++ by Voldemort on 01-05-2008 at 12:54 AM

i *might* be newbing but if you search the registry with your amount of unread emails you *may* find it :p


RE: Emails, and Visual C++ by Eljay on 01-05-2008 at 01:09 AM

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\UnreadMail


RE: Emails, and Visual C++ by CookieRevised on 01-05-2008 at 03:29 AM

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!


RE: Emails, and Visual C++ by haydenbech on 01-14-2008 at 10:48 AM

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? 


RE: Emails, and Visual C++ by Spunky on 01-14-2008 at 04:36 PM

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)