Why does the Address property of the Recipient object in the Outlook object model look funny?

O

Omatase

When I pull the Address property of the Recipient object I get a
string that looks like:

"/o=Company Name/ou=First Administrative Group/cn=Recipients/
cn=jdiggs"

??

And where can I get the normal address? i.e. (e-mail address removed)
 
L

Luuke

This is the X400 address of the mailbox, which is the default address
of an Exchange recipient.
Your system administrator has to create a SMTP address (aka "normal
address") for mailboxes that are allowed to send/receive external
messages.

Luuke
 
F

F. H. Muffman

Luuke said:
This is the X400 address of the mailbox, which is the default address
of an Exchange recipient.
Your system administrator has to create a SMTP address (aka "normal
address") for mailboxes that are allowed to send/receive external
messages.


Actually, based on http://msdn2.microsoft.com/en-us/library/ms526157.aspx,
the internal address is what gets pulled as the Address property of the
Recipient address, not to mention that I'm pretty sure it's extremly hard to
create a mailbox without an SMTP address in any modern version of Exchange.

Now, as for how to pull the smtp address, a) you might be better off asking
in one of the programming newsgroups and b) I believe you need to look for
the AddressEntry.Type of SMTP in order to get the SMTP address as the
internal address is the type that will be returned first (for internal
mailboxes).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top