Solved

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

Posted on 2008-10-13
1
175 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Outlook Free & Paid Tools
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: …

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now