title: How to determine if Appointment Object was sent?
body: <p>I would like to get a &quot;Sent&quot; property for an <code>AppointmentItem</code> to determine if the invitation was sent or not - either cancelled by user after clicking the displayed window or server issues.</p>
  <p>While I read that the appointment has a <a href="https://msdn.microsoft.com/en-us/library/microsoft.office.interop.outlook.appointmentitem_properties.aspx" rel="nofollow noreferrer">Saved Property</a>, this doesn't tell me if it was sent like the one in <a href="https://msdn.microsoft.com/en-us/library/microsoft.office.interop.outlook.mailitem_properties.aspx" rel="nofollow noreferrer">MailItem</a>.</p>
  <p>I don't think the code would be helpful, but, here it is:</p>
  <pre class="lang-vb prettyprint-override"><code>Dim olApp As Outlook.Application
  Dim olAgenda As Outlook.AppointmentItem
  Set olApp = New Outlook.Application
  Set olAgenda = olApp.CreateItem(1)
  
  With olAgenda
      .Subject = &quot;Test&quot;
      .Recipients.Add = &quot;sample@domain.com&quot;
      .Display
      On Error Resume Next
  
      'here is where I would need to catch the kind of &quot;was it sent?&quot; variable.
      Call .ItemProperties.Item(&quot;Saved&quot;)
      
      If Err.Number = 0 Then             '99. If Error
          MsgBox &quot;Item Send&quot;
      Else                               '99. If Error
          MsgBox &quot;Item Not Send&quot;
      End If                             '99. If Error
      
  End With
  </code></pre>
  <p>Please note, I don't like late binding, reference for Outlook library has to be added.</p>
  <p>How could I catch if the <code>AppointmentItem</code> was sent?</p>