title: ICS in Outlook being sent as a .msg file
body: <p>I have an application, it is creating an ICS similar to the following:</p>
  
  <pre><code>BEGIN:VCALENDAR
  VERSION:2.0
  METHOD:REQUEST
  BEGIN:VEVENT
  ATTENDEE;ROLE=REQ-PARTICIPANT;RSVP=TRUE:MAILTO:test1234@gmail.com
  ORGANIZER:MAILTO:test1234@org.com
  DTSTART:20100803T190000Z
  DTEND:20100803T200000Z
  LOCATION:Go to http://100.200.0.55/Login/ParticipantLogIn.asp and enter
     Conference ID: 0000
  SEQUENCE:0
  UID:352C75A6-0117-4B3A-AFE6-7B18649CD45A
  DTSTAMP:20100803T184455Z
  DESCRIPTION:TO ACCESS THE WEB CONFERENCE:\n\n    Click on the link bel
    ow:\n
  SUMMARY:Test User's Conference
  PRIORITY:5
  CLASS:PUBLIC
  BEGIN:VALARM
  TRIGGER:-PT15M
  ACTION:DISPLAY
  DESCRIPTION:Reminder
  END:VALARM
  END:VEVENT
  END:VCALENDAR
  </code></pre>
  
  <p>When sent to a Gmail account it is being sent as an ICS file and everything is correct.  When sent to Outlook 2003 or 2007, it is attached as a .msg file and is binary.  The server being used is Windows Server 2008.  I have set ics mime type as <em>text/calendar</em> on it.  The process for adding it is just creating a tmp file on disk and adding it as an attachment, then sending using CDO.  Does anyone know any reason why Outlook would be adding it as a .msg?  </p>
  
  <p>Also, we use the same exchange server and it works fine from Windows Server 2003. </p>
  
  <p>Updating with network trace for the attachment</p>
  
  <p><strong>2003</strong></p>
  
  <pre><code>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4073
  
  Content-Type: application/octet-stream;
      name="meeting.ics"
  Content-Transfer-Encoding: 7bit
  Content-Disposition: attachment;
      filename="meeting.ics"
  </code></pre>
  
  <p><strong>2008</strong></p>
  
  <pre><code>X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18197
  Content-Type: text/calendar;
      name="meeting.ics"
  Content-Transfer-Encoding: 7bit
  Content-Disposition: attachment;
      filename="meeting.ics"
  </code></pre>
  
  <p>In both there are four message parts:</p>
  
  <ol>
  <li>Text   </li>
  <li>HTML</li>
  <li>Attachment 1</li>
  <li>Attachment 2</li>
  </ol>
  
  <p>In the 2003 version that works, one is an application/octet stream and one is calendar/text.  In 2008 they both are calendar/text. </p>