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
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)
Please log in to answer
Posted by:
anonymous_9363
15 years ago
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
Posted by:
anonymous_9363
15 years ago
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
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.