Add More than One Othermailbox to Account
Keywords: Add More than One Othermailbox to Account
Question:
I been using the following to set the othermailbox properties. At this time I need to be able to add two othermailbox to the account. However when I add another entry, the new one just over writes the first one. Is there any way to add more then one othermailbox to an account.msaddr="MS$%domainname%/%site%/%usersid%" dsSetProperty(sMailBoxPath, "otherMailbox", MSaddr)Answer:
I believe that othermailboxes is a tab delimited property...You'll have to get the property first add a tab and then add your new address try something like:
msaddr="MS$%domainname%/%site%/%usersid%" oldaddr=dsGetProperty(sMailBoxPath, "otherMailbox", MSaddr) addr_to_add=StrCat(oldaddr, @TAB, msaddr) dsSetProperty(sMailBoxPath, "otherMailbox", addr_to_add)