I have develop an application that need to notify admin when somethings goes wrong through email?

How do i send an email :

1 without popping up outlook to the user?
2 and make sure that the message was sent?

am not sending mass email or what ever, just less that 2kb email message that needs to be sent describing the error that has occurred in the app.

thanks