JAM1011 0 Light Poster

Hey everyone,

I was just wondering if there is any way to check if a email has been sent in vb.net 2008 and outlook 2007.

I just need a message box to state weather the message was sent or failed. Here is the code I am using to send the email and it works grand but i just need some kind of confirmation for the user that the email was sent.

oOApp = CreateObject("Outlook.Application")
            oOMail = oOApp.CreateItem(Outlook.OlItemType.olMailItem)

            With oOMail
                .To = "jkelliher@bismail.ucc.ie"
                .Subject = txtSubject.Text
                .Body = txtOverBill.Text

                .Send()
            End With

Thanks

James