send document as an attachment


hi,

i haven't work on situation this.suppose front end browsing excel file containing data.now, want send excel document attachment recipients backend.right now,i sending mail this

exec msdb.dbo.sp_send_dbmail
    @profile_name = 'emailsbounced',
    @recipients    = @emaillist,
    @subject    = 'topup request',
    @body        =  @body,
    @importance='high',
    @body_format='html'

 

what various ways can use.


thanks , regards, rishabh

hi,

i got solution can use @file_attachments option send document attachment


thanks , regards, rishabh


SQL Server  >  SQL Server Database Engine



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........