Beispiel #1
0
 private bool DeleteMailItemProperty(Outlook.MailItem item, string propName)
 {
     try
     {
         Outlook.PropertyAccessor accessor = item.PropertyAccessor;
         accessor.DeleteProperty(propName);
     }
     catch (System.Exception ex)
     {
         //[SF] Don't re-throw any error
         ex.GetType();
         return(false);
     }
     return(true);
 }