I want to create a trigger which executes the stored procedure
xp_sendmail or sp_send_dbmail. which one is correct.
By creating a trigger i need to send an email from the database and i am using sql server 2005.
'For this i used xp_sendmail but it is asking for parameter @user.
Kindly provide the detailed information how can i overcome these problems in sql server 2005 to send an email to a gmail or yahoo account using my trigger.