Hey all, im using a createobject reference (see below) to call an outlook mail message... I wanted to track if it is sent or not so that I can take the final composed message and store it in a database (This is for message tracking from within my application) See code below, any suggestions would be helpful! Thanks!

VB Code:
  1. Dim olMailItem
  2.     Dim olApp As Object
  3.     Dim objMail As Object
  4.         Set olApp = CreateObject("Outlook.Application")
  5.         Set objMail = olApp.CreateItem(olMailItem)
  6.  
  7.     Set objMail = olApp.CreateItem(olMailItem)
  8.  
  9.     With objMail
  10.         If (strRecipientName <> "") And (IsNull(strRecipientName) = False) Then .To = strRecipientName
  11.         .HTMLBody = strMailTemplateInfo
  12.         .Subject = "Critical Call IM" & KillZeros(Mid(frmMain.lblTickInfo.Caption, 3, 13)) & " - " & strMsgSubType & " - " & frmMain.txtKnownApps
  13.         On Error GoTo DialogOpen
  14.         .Display
  15.     End With