I created a VBScript that creates a user and mail enables it in exchange server. It works fine by simply double clicking on it. I also added a piece of code that sends a generic message to that mailbox. Unfortunately it takes a couple of seconds for the mailbox to be created and replicated. You can see the user and its SMTP address in Active Directory, but there won't be any messages in its mailbox. Is there a piece of code that can be placed above the line responsible for sending the message to put a delay on sending the message?