Example #1
0
 private static string GetHeader(MessageItem item, string header)
 {
     try
     {
         var propTag = item.GetIDsFromNames(ThisAddIn.PS_INTERNET_HEADERS, header) | ThisAddIn.PT_STRING8;
         return Convert.ToString(item.Fields[propTag]);
     }
     catch
     {
         return string.Empty;
     }
 }