title: Suppressing Outlook Field Printing
body: <p>We have written an add-on for Outlook that files emails into our CRM system. Int he process of this, it saves the Outlook Message ID as a UserField on the Message itself.</p>
  
  <p>eg.</p>
  
  <pre><code>currentUserProperty = Constants.APPLICATION_NAME + "EntryID";
  mailItem.UserProperties.Add(currentUserProperty,
         Microsoft.Office.Interop.Outlook.OlUserPropertyType.olText,
         Missing.Value,
         Missing.Value).Value = entryId;
  </code></pre>
  
  <p>Unfortunately, this is a HUUUGGEE number, much like:</p>
  
  <p><strong>"00000000D502D779150E2F4580B1AADDF04ECDA6070097EF5A1237597748A4B4F9BFF540020800000006E9E4000068BB5B6DFC36924FAEC709A17D056583000002DE0E350000"</strong></p>
  
  <p>The problem is that when the user prints the message off, Outlook insists on including this field (beneath the From/To) and because it has no spaces, cannot wrap the ID and compresses the A4 page until it can fit on horizontally. This produces teeny-tiny email printouts.</p>
  
  <p>Is there any way I can correct this? I had thought of overwriting the field OriginalEntryID (which is the one causing the problem) with one delimited by spaces but I get an exception from the COM layer. My next stop is to try and suppress the output of this and other user-defined fields on Outlook stationary.</p>
  
  <p>Does anyone know how this can be achieved?</p>