2
Answers

data base email

satheesh babu

satheesh babu

16y
4.9k
1

Dear All,

           Here i developed a report using gridview control my web site.

now i want to send an email the same report(means same result set) data from sql server 2005 every day at 9pm.

how can i configure the set up.

please help me out.....

thank you..

Answers (2)
0
Vijaya Kadiyala

Vijaya Kadiyala

NA 2.1k 305.9k 16y

Hi

Check out the below link,

http://www.sql-server-performance.com/articles/dba/email_functionality_p1.aspx

Thanks -- Vijaya Kadiyala

Accepted
0
Sateesh Arveti

Sateesh Arveti

NA 24k 6.2m 16y
Create a SQL Server Transact-SQL Job and schedule it to run at 9 everyday with e-mail code in it:
msdb.dbo.sp_send_dbmail

@recipients=N'test@test.com',
@body='Body',

@subject ='Subject',
@file_attachments ='report path';