D
Dick Watson
I have a number of existing distribution lists that have lots of
resolved/resolvable Exchange display names/addresses.
The problem is we are reorganizing and all these users are moving Real Soon
Now to a new address. To ease the transition, I want to start sending emails
to their new addresses via SMTP for now until we swing over to the new
Exchange. (Some users are on the new Exchange and most are still on the old,
but SMTP inbound to the new Exchange environment is being forwarded to them
in the old. Fixing the dist lists one entry at a time as users swing is just
ugly. Better to convert everybody to the new addresses for now while the new
environment is being fleshed out.) So I want to copy the DistListItem
Recipients to a new DistListItem using code to CreateRecipient the new
Members using the current display name and a new SMTP address.
This seemed easy enough, but:
CreateRecipient(myRecipientWas.Name) just immediately resolves to the
current Exchange user. Once resolved, there doesn't seem to be any way to
coerce it to use the same "display name" but an SMTP address instead.
So, how can I add members to a DistListItem and CONTROL the address type and
address used for any given display name--even if it may be an Exchange-known
display name?
IIRC (not in the Exchange environment to re-visit this at the moment)
CreateRecipient(strRecipientNewSMTPaddress) is also getting resolved to the
current Exchange name (I think the LDAP/Exchange environment has knowledge
of both old and new SMTP addresses). I've tried CreateRecipient() with a
modified display name "User Displayname [new SMTP]" but it doesn't resolve
(of course) but I can find no way to assign an SMTP address/address type to
the unresolved Member entry.
So how can I complete an unresolvable AddressEntry once I've done a
CreateRecipient that couldn't be resolved? Is there any way to add/change an
uresolvable recipient to one that can be resolved (i.e., a valid SMTP
address type)? I can create these entries in the Outlook Contact
Distribution List UI for adding members just fine. I just need to do it
programmatically due to the volume involved.
Surely there's a way to solve one or the other of these problems?
resolved/resolvable Exchange display names/addresses.
The problem is we are reorganizing and all these users are moving Real Soon
Now to a new address. To ease the transition, I want to start sending emails
to their new addresses via SMTP for now until we swing over to the new
Exchange. (Some users are on the new Exchange and most are still on the old,
but SMTP inbound to the new Exchange environment is being forwarded to them
in the old. Fixing the dist lists one entry at a time as users swing is just
ugly. Better to convert everybody to the new addresses for now while the new
environment is being fleshed out.) So I want to copy the DistListItem
Recipients to a new DistListItem using code to CreateRecipient the new
Members using the current display name and a new SMTP address.
This seemed easy enough, but:
CreateRecipient(myRecipientWas.Name) just immediately resolves to the
current Exchange user. Once resolved, there doesn't seem to be any way to
coerce it to use the same "display name" but an SMTP address instead.
So, how can I add members to a DistListItem and CONTROL the address type and
address used for any given display name--even if it may be an Exchange-known
display name?
IIRC (not in the Exchange environment to re-visit this at the moment)
CreateRecipient(strRecipientNewSMTPaddress) is also getting resolved to the
current Exchange name (I think the LDAP/Exchange environment has knowledge
of both old and new SMTP addresses). I've tried CreateRecipient() with a
modified display name "User Displayname [new SMTP]" but it doesn't resolve
(of course) but I can find no way to assign an SMTP address/address type to
the unresolved Member entry.
So how can I complete an unresolvable AddressEntry once I've done a
CreateRecipient that couldn't be resolved? Is there any way to add/change an
uresolvable recipient to one that can be resolved (i.e., a valid SMTP
address type)? I can create these entries in the Outlook Contact
Distribution List UI for adding members just fine. I just need to do it
programmatically due to the volume involved.
Surely there's a way to solve one or the other of these problems?