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

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?
LVL 7
aplusexpertAsked:
Who is Participating?
 
aplusexpertConnect With a Mentor Author Commented:
I found the solution for this question.

We can get To Address (recipients email) using  "_MyMail1.Recipients[1].Address.ToString()"
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.