MAPI Application: How to remove an existing additional Exchange mailbox from a MAPI profile in Outlook No ratings yet.

Following my post How to add more Exchange mailboxes to a MAPI profile in Outlook 2010 (KB 171636) you can find below a code sample that allows you to remove an existing additional Exchange Mailbox from a MAPI profile. //RemoveMailbox.cpp…

Read More

EmailAddresses displayed as strings when connecting using the New-PSSession command No ratings yet.

When connecting using the Exchange Management Shell, the command (Get-Mailbox –Identity Administrator).EmailAddresses displays a result similar to: AddressString      : C=GB;A= ;P=ZONE LTD;O=Exchange;S=Administrator;G=Zone;ProxyAddressString : X400:C=GB;A= ;P=ZONE LTD;O=Exchange;S=Administrator;G=Zone;Prefix             : X400IsPrimaryAddress   : TruePrefixString       : X400 AddressString      : C=GB;A= ;P=ZONE LTD;O=Exchange;S=Administrator;ProxyAddressString : x400:C=GB;A= ;P=ZONE…

Read More

Using Exchange Web Services from VBScript: Sending a message with attachment example No ratings yet.

With Exchange 2010, CDO and all the other APIs that were commonly used from VBScript (e.g. WebDAV) are no longer supported.  The only scriptable API is EWS.  While it is relatively easy to use EWS using the managed API, this…

Read More

Exchange web services fail using impersonation to access mailboxes No ratings yet.

A customer recently reported a problem to Microsoft where they were dicovering that their exchange web services were unable to connect to some mailboxes. Often support engineers need to ask probing questions about what recently happened in the companys organisation,…

Read More