Hi
Dabase mail need to be configured
You can use Query after db mail configured
EXEC msdb.dbo.sp_send_dbmail
@profile_name = 'MAIL', --DB mail Profile
@recipients -- = 'abc@abc.co.za',
@body = 'Info',
@subject = 'SUbject',
@file_attachments = 'c:\abc.doc;c:\babc.doc'