Obtain SMTP Address using CDO in an un-managed environment No ratings yet.

You can use the AddressEntry.Fields(PR_SMTP_ADDRESS) method where PR_SMTP_ADDRESS is 0x39FE001E.   Here are two examples of it:   ‘ MAPI property tag for SMTP address           ‘ Get first message from inbox         Set objFolder = objSession.Inbox         Set…

Read More

Obtain SMTP Address using CDO/Outlook in managed environments No ratings yet.

If you were targeting office 2003 clients, you can download the Office 2003 primary interop libraries here: http://www.microsoft.com/downloads/details.aspx?familyid=3c9a983a-ac14-4125-8ba0-d36d67e0f4ad&displaylang=en   This will allow your application to communicate with the Outlook object model (OOM) using interop. Once you have installed and connected…

Read More