PC Review


Reply
Thread Tools Rate Thread

AppointmentItem.Recipients getting e-mail addresses

 
 
Victor
Guest
Posts: n/a
 
      9th Oct 2008
Hi,

How can I get a recipient e-mail address from AppointmentItem.Recipients
recipient ?

Recipients are resolved, so the ony thing I can get is their 'human' names.
Recipient.Address returns

"/o=DOMAIN1/ou=Exchange Administrative Group
(FYD233333SPDLT)/cn=Recipients/cn=myname"

How can I get recipients e-mails?

 
Reply With Quote
 
 
 
 
Sue Mosher [MVP-Outlook]
Guest
Posts: n/a
 
      9th Oct 2008
That *is* the email address, in X.500. If you want the SMTP address for an
Exchange user, in versions before Outlook 2007, use CDO or, to avoid security
prompts, Redemption and the PR_EMAIL (&H39FE001E) MAPI property to obtain the
SMTP address from the AddressEntry object. See
http://www.outlookcode.com/d/code/ge...htm#redemption and
http://www.cdolive.com/cdo5.htm#EMailAddressOfSender for examples. In .NET
languages, Microsoft doesn't officially support CDO and Extended MAPI.
Redemption should work fine, and there are examples of using Extended MAPI,
e.g.
http://anoriginalidea.wordpress.com/...in-vbnet-vsto/.

See
http://groups.google.com/group/micro...2fcbb691d5bf18
for a discussion of how to do it with Cached Exchange Mode in Outlook 2003 or
later.

FYI, there is a newsgroup specifically for general Outlook programming
issues "down the hall" at microsoft.public.outlook.program_vba or, via web
interface, at
http://www.microsoft.com/office/comm...ok.program_vba

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54




"Victor" wrote:

> Hi,
>
> How can I get a recipient e-mail address from AppointmentItem.Recipients
> recipient ?
>
> Recipients are resolved, so the ony thing I can get is their 'human' names.
> Recipient.Address returns
>
> "/o=DOMAIN1/ou=Exchange Administrative Group
> (FYD233333SPDLT)/cn=Recipients/cn=myname"
>
> How can I get recipients e-mails?
>

 
Reply With Quote
 
Victor
Guest
Posts: n/a
 
      10th Oct 2008
Sue,

Thank you very much for your reply.
Sorry for posting in a wrong group, - I will use groups you suggested next
time.

Victor




 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mass import of addresses from mail recipients Viktor Erdélyi Microsoft Outlook Discussion 0 5th Mar 2008 06:25 PM
Blocking the e-mail addresses of recipients when sending to multip dotty Windows Vista Security 2 7th Jan 2008 09:11 PM
how can my sent mail box list all recipients' email addresses? =?Utf-8?B?bWdk?= Microsoft Outlook Discussion 0 12th Oct 2005 04:29 AM
How can I get all the recipients names and e-mail addresses? =?Utf-8?B?U2ltb24=?= Microsoft Outlook Contacts 0 2nd Sep 2005 12:32 PM
how do i hide e-mail addresses from recipients =?Utf-8?B?UGhpbA==?= Microsoft Outlook Contacts 1 1st Sep 2004 03:33 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:28 PM.