how to read names of recipients in the to box

  • Thread starter Thread starter Tulasi
  • Start date Start date
T

Tulasi

Hello,

How to get the values in or maild ids of recipients in the to box of custom
form?
The following code gives some junk

For Each recip in Item.Recipients
strAddr = strAddr & ";" & recip.Address
Next
strAddr = Mid(strAddr, 2)

is there any property to get the value of smtp value of the recipient object?

Thanks in advance
 
To get the SMTP address from an Exchange sender or recipient in versions before Outlook 2007, use CDO 1.21 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/getsenderaddy.htm#redemption and http://www.cdolive.com/cdo5.htm#EMailAddressOfSender for examples.

See http://groups.google.com/group/micr...e_frm/thread/4d4d5fece24a2a7/ad2fcbb691d5bf18 for a discussion of how to do it with Cached Exchange Mode in Outlook 2003.
 
Back
Top