Hi Folks,

I've recently created a package that appends the Outlook Holiday Calendar for each of my users. The package updates the Outlook.holiday file on the client machine and active setup runs a VBSCript to input the Calendar entries into the users mailbox. The issue I have is a few of my users don't have configured Outlook mailboxes. Ideally what I'm looking for is a VBScript to do the following;

1. Check if the user who logs in has a SMTP Outlook Mailbox.
2. If Mailbox exists, the script should continue and update users Outlook Calendar, I already have the VBScript to update the users Calendar.
3. If Mailbox doesn't exist, the script should abort and exit.

Does anybody know how to or have a VBScript that could do the above?

Thanks in advance.
Cowley
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Have you tried http://www.slipstick.com? There's a ton of OL code there which could easily be adapted to VBS.
Answered 02/16/2009 by: VBScab
Red Belt

Please log in to comment
0
Thanks VBScab, been on there and couldn't really find anything too useful.
Answered 02/16/2009 by: cowley
Orange Belt

Please log in to comment
0
When you say "SMTP mailbox", did you want to check for an Exchange mailbox or an Internet mailbox?

EDIT:
In pure self-interest, I found http://www.outlookcode.com/threads.aspx?forumid=5&messageid=17076 and http://msdn.microsoft.com/en-gb/library/bb204073.aspx
Answered 02/16/2009 by: VBScab
Red Belt

Please log in to comment
0
Apologies I meant Exchange mailbox.
Answered 02/17/2009 by: cowley
Orange Belt

Please log in to comment
0
...so, the first of those links is what you need.
Answered 02/17/2009 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity