S
Sandip Naskar
Hi All,
While creating a outlook addin, I am facing some problem in getting email address for To/CC.
Here is the code, I am using, (I am getting the selected mail from Outlook)
Outlook.MailItem OuItem;
OuItem = (Outlook.MailItem)applicationObject.Application.ActiveExplorer().Selection.Item(1);
string strTo = OuItem.To;
But I am always getting the name instead of address.
Any help would be highly appreciated.
Thank you all in advance.
Regards,
Sandip
While creating a outlook addin, I am facing some problem in getting email address for To/CC.
Here is the code, I am using, (I am getting the selected mail from Outlook)
Outlook.MailItem OuItem;
OuItem = (Outlook.MailItem)applicationObject.Application.ActiveExplorer().Selection.Item(1);
string strTo = OuItem.To;
But I am always getting the name instead of address.
Any help would be highly appreciated.
Thank you all in advance.
Regards,
Sandip