Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 xp_sendmail

Author  Topic 

sardinka
Posting Yak Master

142 Posts

Posted - 2005-08-12 : 09:23:34
How do I attached the file by using xp_sendmail?

exec xp_sendmail
@recipients='myemail@yahoo.com',
@subject='test',
@attach_results='True'
??? 'C:\FileName.xls'

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2005-08-12 : 13:59:48
exec xp_sendmail
@recipients='myemail@yahoo.com',
@subject='test',
@attachments='C:\FileName.xls'

Tara
Go to Top of Page
   

- Advertisement -