Link to home
Start Free TrialLog in
Avatar of srejja
srejja

asked on

Appending attachment using sp_send_dbmail

The email sends, but without the attachment.  Is there a problem with the code or does something need to be manipulated within the SQL Server settings?

msdb.dbo.sp_send_dbmail  @profile_name =  'Test' ,
@recipients = 'bill123453@yahoo.com',
@subject =  'Test' ,
@body =  'Test' ,
@query_attachment_filename =  'C:\Test.txt'
ASKER CERTIFIED SOLUTION
Avatar of sbagireddi
sbagireddi

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial