Scripts Thread, Show Unread Mail Count at Logon in Coding and Web Development; Provided that you only have one Outlook profile on your machine and that the user doesn't need to enter a ...
2nd December 2009, 12:33 AM #16
Provided that you only have one Outlook profile on your machine and that the user doesn't need to enter a username/password (shouldn't need to if your staff machines are domain joined) then it's easy(ish!)
Add this to the login script
The difficulty with email is always getting a balance of what people receive; if they typically get dozens of messages a day which are not relevant to them then they're just going to ignore all of them. If they rarely get any email (so they don't check it because there's never anything there) then this might help.
set oNameSpace= oOutlook.GetNamespace("mapi")
iCount=oNameSpace.GetDefaultFolder(6).unreaditemcount 'folder 6 is inbox
if iCount<>0 then msgbox "You have " & iCount & "unread email message(s)"
2nd December 2009, 12:52 AM #17
I will give that a go in the morning, most of the staff unless there admin/slt dont have the option to use outlook they just use OWA i am guessing the above wont work for them?
and i am guessing it is .vbs
2nd December 2009, 11:00 AM #18
It is .vbs (sorry; should have said that :-)) and no, it won't work for OWA but will work if Outlook is installed and there's a profile there (or would be auto-generated)
Out of interest, why not use Outlook? If this is just a user preference (they get used to being able to use OWA everywhere and "fat" Outlook doesn't add that much) but Outlook is there if they want it then the script will still work.
The other alternative is to use webdav to query the server - this would work even if Outlook isn't installed. I googled and found quite a few example bits of code but I can't get any of them to work :-(
I'm not in work today and the sun has just come out so I'm going to get some fresh air; if I get time tomorrow, I'll try again to get this to work because it ought to be easy :-)
2nd December 2009, 11:04 AM #19
Cool thanks steve, i have run it on my machine this morning and it does not seem to do much other then well nothing i am runing windows 7 / outlook 2007.
The main reason for us not giving it to staff generally is because we dont use roaming profiles, and therefore everytime a member of staff moved around they would want outlook setting up so we just thought it would be ideal if they just used OWA. none of them mind using the OWA it's just getting them to check it regular enough.
Ok no problem, yeah that would be great if you could...
2nd December 2009, 11:07 AM #20
Just put outlook as a startup item and then it will show them how many messages and remind them every time they logon to read it!!
2nd December 2009, 11:09 AM #21
As stated before, they do not have outlook we do not give them that to use as they do not have roaming profiles.
Originally Posted by jamesreedersmith
what i was asking in my OP is weather there is an option for it to get this information back from the Exchange Server using there username. i.e. logon
As much as i appreciate your input, might be worth reading the posts before replying so that the actual question is discussed rather then someone giving me other ways which i am aware of; but not actually answering my question.
2nd December 2009, 11:14 AM #22
Make exchange the browser home page for staff, so it's the first thing they see when they use your web browser.
We did that with EasyMail here. Annoys the staff no end, and you will have to endure "I can't log on to the internet" calls as they don't go straight to Google, but they do now check their emails more regularly.
2nd December 2009, 11:17 AM #23
lol, yeah we had this for a few weeks once we made there homepage the intranet.. and as that pops up first when they logon it annoys the hell out of them but they still dont click on the EMAIL button they just minimize the window.
Originally Posted by elsiegee40
By wellscs in forum Windows
Last Post: 15th December 2008, 11:40 PM
By Joedetic in forum Comments and Suggestions
Last Post: 2nd July 2008, 02:11 PM
By mactech03 in forum Mac
Last Post: 20th May 2008, 12:09 PM
By FN-GM in forum Windows
Last Post: 4th March 2008, 11:54 AM
By FN-GM in forum General Chat
Last Post: 26th July 2007, 11:59 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)