EmailAddresses parameter (Microsoft.Exchange.Data.ProxyAddressCollection)

To set proxy addresses in Live@edu, I had to change this:

PCommand.AddParameter(“Identity”, emailName);
PCommand.AddParameter(“MailboxPlan”, “GalDisabledMailboxPlan”);
PCommand.AddParameter(“EmailAddresses”, sProxyAddresses);

To this:

Dim addresses As New ArrayList
addresses.Add(“SMTP:” & emailName)
addresses.Add(“smtp:” & sProxyAddresses)

PCommand.AddParameter(“Identity”, emailName)
PCommand.AddParameter(“MailboxPlan”, “GalDisabledMailboxPlan”)
PCommand.AddParameter(“EmailAddresses”, addresses)

Thanks to:…


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s