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'
msdb.dbo.sp_send_dbmail @profile_name = 'Test' ,
@recipients = 'bill123453@yahoo.com',
@subject = 'Test' ,
@body = 'Test' ,
@query_attachment_filename
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.