Thank you so much!
How would I be able to execute this script after they use the "Show Create Mailbox form after creation" instead of when running this when it creates the mailbox with condition?
Edit: I'd like to describe the ideal situation:
- The administrator goes to the web interface to create a user.
- There's an option to check whether or not the person requires a mailbox. (I think that's here? Asking questions on object creation form)
- If the value is true, then create a mailbox (either with the mailbox form or through the create mailbox rule)
- Depending on which OU the user was selected to be created in, certain mailbox databases can be picked. E.g: If Mexico OU was picked, then have only Mexico Mailbox Databases pickable.
- Run the script you have provided to make sure the email address is fixed.
Thanks!!!