How to enable and run Database Mail in SQL Server 2008 . I know that it need
Enabling Service Broker
Configuring SMTP (a Mail server is needed)
Using Configuration Storeprocedure.
I don't know what's the relation between application and dataBase mail. Actually How to enable Database mail for a RollBack and Commit Transaction ? (not for all SP , just for some of them)
Update : Database Mail is a Service which automatically sends mail (or sms) to a person which you specify in the configuration. You can specify that this event (sending mail) where and when fired. So Iwant to see how Can I configure this.