/build/static/layout/Breadcrumb_cap_w.png

VBSCript to check if Outlook XP SMTP Mailbox exists

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

Answers (5)

Posted by: anonymous_9363 15 years ago
Red Belt
0
Have you tried http://www.slipstick.com? There's a ton of OL code there which could easily be adapted to VBS.
Posted by: cowley 15 years ago
Orange Belt
0
Thanks VBScab, been on there and couldn't really find anything too useful.
Posted by: anonymous_9363 15 years ago
Red Belt
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
Posted by: cowley 15 years ago
Orange Belt
0
Apologies I meant Exchange mailbox.
Posted by: anonymous_9363 15 years ago
Red Belt
0
...so, the first of those links is what you need.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ