P
peteZ
Hi,
I'm writing an anti-spam plugin for Outlook.
The code snippet below allows me to get the subject of an Outlook emal item. How can I determine what other properties are available to be looked up ?
eg. if I was looking for the senders email address or domain name what would be the string to use to access this ?
thanks
- peteZ
string subject = item.GetType().InvokeMember( "Subject", BindingFlags.Public | BindingFlags.GetField | BindingFlags.GetProperty, null,
item, new object[] {}, System.Globalization.CultureInfo.InvariantCulture ) as string;
I'm writing an anti-spam plugin for Outlook.
The code snippet below allows me to get the subject of an Outlook emal item. How can I determine what other properties are available to be looked up ?
eg. if I was looking for the senders email address or domain name what would be the string to use to access this ?
thanks
- peteZ
string subject = item.GetType().InvokeMember( "Subject", BindingFlags.Public | BindingFlags.GetField | BindingFlags.GetProperty, null,
item, new object[] {}, System.Globalization.CultureInfo.InvariantCulture ) as string;