How to get To address in Exchange Web service in .NET? -


I want to get the address of the mail in the Exchange Web Service.

Here's my code: string _ToAddress = string.Empty; Foreign currency (item results in _mail item search.) {_ToAddress = _MailItem.DisplayTo.ToString (); }

This mail address gives other names like My_Mail_Id @ MyDomain.com instead of My_Mail_Id

how to get the full address of the mail address

To find out, you need to load the property of the mail item. This property stores the collection of recipients. The property has an address field that has the recipient's email address.

Thanks, Niall

Comments