i want to ask about how i can send notification e-mail message when Approve Leave in sql server 2005 to know this Hi Dear (EmployeeName) Your Leave Approved.. .
Loading
i want to ask about how i can send notification e-mail message when Approve Leave in sql server 2005 to know this Hi Dear (EmployeeName) Your Leave Approved.. .
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Pradip PandeyPosted Oct 5, 2012, 12:10 AM
To send Email automatically, first you have to configure Database Mail in SQL Server. For this
refer this link
http://www.c-sharpcorner.com/UploadFile/raj1979/how-to-configuresend-sql-server-database-mail/
Create a table called EmailParameters:
Insert a value into EmailParameters table like this
Procedure of P_SendMail:
Hope it will help.