Solved

Problem with fetching To Address (recipients email address) in Outlook Add-In

Posted on 2008-10-13
1
178 Views
Last Modified: 2013-11-08
I want to find To Address (recipients email) on my custom button click. For this I have used _MySelectedMail.To.Tostring() where _ MySelectedMail is object of Outlook.MailItem.

It gives me Contact name instead of contact e-mail address.

How do I get contact e-mail address?
0
Comment
Question by:aplusexpert
1 Comment
 
LVL 7

Accepted Solution

by:
aplusexpert earned 0 total points
ID: 22708618
I found the solution for this question.

We can get To Address (recipients email) using  "_MyMail1.Recipients[1].Address.ToString()"
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question